ScanSingleEdge


Locates the strongest transition between dark and bright pixels along a given path.

Applications:Very fast detection of an object (e.g. horizontal displacement of a bottle) and simple measurements (e.g. liquid level in a bottle).

Syntax

C++
C#
Python
 
def ScanSingleEdge(
	inImage: Image,
	inScanMap: ScanMap,
	inEdgeScanParams: EdgeScanParams,
	inEdgeSelection: Selection,
	/,
	*,
	inLocalBlindness: LocalBlindness | None = None,
	outBrightnessProfile: Profile | None = None,
	outResponseProfile: Profile | None = None
)
-> outEdge: Edge1D | None

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inScanMap ScanMap Data precomputed with CreateScanMap
Input value inEdgeScanParams EdgeScanParams Parameters controlling the edge extraction process
Input value inEdgeSelection Selection Selection mode of the resulting edge
Input value inLocalBlindness LocalBlindness | None None Defines conditions in which weaker edges can be detected in the vicinity of stronger edges
Output value outEdge Edge1D | None Found edge
Output value outBrightnessProfile Profile | None None Extracted image profile
Output value outResponseProfile Profile | None None Profile of the edge (derivative) operator response