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 | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inScanMap | ScanMap | Data precomputed with CreateScanMap | |
![]() |
inEdgeScanParams | EdgeScanParams | Parameters controlling the edge extraction process | |
![]() |
inEdgeSelection | Selection | Selection mode of the resulting edge | |
![]() |
inLocalBlindness | LocalBlindness | None | None | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges |
![]() |
outEdge | Edge1D | None | Found edge | |
![]() |
outBrightnessProfile | Profile | None | None | Extracted image profile |
![]() |
outResponseProfile | Profile | None | None | Profile of the edge (derivative) operator response |


