ProfileStripes
Finds pairs of opposite (raising and falling) edges in the input profile.
Applications:Can be used for 1D stripe detection when the brightness profile is extracted from an image in a non-standard way.
Syntax
C++
C#
Python
def ProfileStripes( inProfile: Profile, /, *, inRange: Range | None = None, inCyclic: bool = False, inStripeScanParams: StripeScanParams = StripeScanParams(ProfileInterpolationMethod.Quadratic4, 0.6, 5.0, None, Polarity.Bright, 0.0, None), inMinGapWidth: float = 0.0, inMaxGapWidth: float | None = None, inLocalBlindness: LocalBlindness | None = None, outResponseProfile: Profile | None = None ) -> ( outStripes: list[ProfileStripe], outGapWidths: list[float] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inProfile | Profile | Input profile | ||
![]() |
inRange | Range | None | None | ||
![]() |
inCyclic | bool | False | ||
![]() |
inStripeScanParams | StripeScanParams | StripeScanParams(ProfileInterpolationMethod.Quadratic4, 0.6, 5.0, None, Polarity.Bright, 0.0, None) | Parameters controlling the stripe extraction process | |
![]() |
inMinGapWidth | float | 0.0 - ![]() |
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[ProfileStripe] | Found stripes | ||
![]() |
outGapWidths | list[float] | Distances between consecutive stripes | ||
![]() |
outResponseProfile | Profile | None | None | Profile of the edge (derivative) operator response |



