ScanSingleRidge
Locates the strongest dark or bright pixel peak along a given path.
Applications:Very fast detection of a thin structure like a wire or a scale mark.
Syntax
C++
C#
Python
def ScanSingleRidge( inImage: Image, inScanMap: ScanMap, inRidgeScanParams: RidgeScanParams, inRidgeSelection: Selection, /, *, inLocalBlindness: LocalBlindness | None = None, outBrightnessProfile: Profile | None = None, outResponseProfile: Profile | None = None ) -> outRidge: Ridge1D | None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inScanMap | ScanMap | Data precomputed with CreateScanMap | |
![]() |
inRidgeScanParams | RidgeScanParams | Parameters controlling the ridge extraction process | |
![]() |
inRidgeSelection | Selection | Selection mode of the resulting ridge | |
![]() |
inLocalBlindness | LocalBlindness | None | None | Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges |
![]() |
outRidge | Ridge1D | None | Found ridge | |
![]() |
outBrightnessProfile | Profile | None | None | Extracted image profile |
![]() |
outResponseProfile | Profile | None | None | Profile of the ridge operator response |


