ScanMultipleStripes
Locates multiple pairs of edges across a given path.
Applications:Very fast detection of multiple pairs of opposite edges - usually for counting or width measurements.
Syntax
C++
C#
Python
def ScanMultipleStripes( inImage: Image, inScanMap: ScanMap, inStripeScanParams: StripeScanParams, inMinGapWidth: float, /, *, inMaxGapWidth: float | None = None, inLocalBlindness: LocalBlindness | None = None, outBrightnessProfile: Profile | None = None, outResponseProfile: Profile | None = None ) -> ( outStripes: list[Stripe1D], outGaps: list[Gap1D] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Input image | ||
![]() |
inScanMap | ScanMap | Data precomputed with CreateScanMap | ||
![]() |
inStripeScanParams | StripeScanParams | Parameters controlling the stripe extraction process | ||
![]() |
inMinGapWidth | float | 0.0 - ![]() |
Minimal distance between consecutive stripes | |
![]() |
inMaxGapWidth | float | None | 0.0 - ![]() |
None | Maximal distance between consecutive stripes |
![]() |
inLocalBlindness | LocalBlindness | None | None | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges | |
![]() |
outStripes | list[Stripe1D] | Found stripes | ||
![]() |
outGaps | list[Gap1D] | Distances between consecutive stripes | ||
![]() |
outBrightnessProfile | Profile | None | None | Extracted image profile | |
![]() |
outResponseProfile | Profile | None | None | Profile of the edge (derivative) operator response |



