ScanExactlyNStripes
Locates a specified number of multiple pairs of opposite edges across a given path.
Applications:Very fast detection (or presence verification) of multiple pairs of opposite edges.
Syntax
C++
C#
Python
def ScanExactlyNStripes( inImage: Image, inScanMap: ScanMap, inStripeScanParams: StripeScanParams, inStripeCount: int, inStripeSelection: Selection, inMinGapWidth: float, /, *, inMaxGapWidth: float | None = None, inLocalBlindness: LocalBlindness | None = None, outBrightnessProfile: Profile | None = None, outResponseProfile: Profile | None = None ) -> ( outStripes: list[Stripe1D] | None, outGaps: list[Gap1D] | None )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Input image | ||
![]() |
inScanMap | ScanMap | Data precomputed with CreateScanMap | ||
![]() |
inStripeScanParams | StripeScanParams | Parameters controlling the stripe extraction process | ||
![]() |
inStripeCount | int | 0 - ![]() |
Number of stripes to be found | |
![]() |
inStripeSelection | Selection | Selection mode of the resulting stripes | ||
![]() |
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] | None | Found stripes | ||
![]() |
outGaps | list[Gap1D] | None | Distances between consecutive stripes | ||
![]() |
outBrightnessProfile | Profile | None | None | Extracted image profile | |
![]() |
outResponseProfile | Profile | None | None | Profile of the edge (derivative) operator response |



