ProfileEdges
Finds the locations at which the profile values raise or fall quickly.
Applications:Can be used for 1D edge detection when the brightness profile is extracted from an image in a non-standard way.
Syntax
C++
C#
Python
def ProfileEdges( inProfile: Profile, /, *, inRange: Range | None = None, inCyclic: bool = False, inEdgeScanParams: EdgeScanParams = EdgeScanParams(ProfileInterpolationMethod.Quadratic4, 0.6, 5.0, EdgeTransition.BrightToDark), inMinDistance: float = 0.0, inMaxDistance: float | None = None, inLocalBlindness: LocalBlindness | None = None, outResponseProfile: Profile | None = None ) -> ( outEdges: list[ProfileEdge], outDistances: list[float] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inProfile | Profile | Input profile | ||
![]() |
inRange | Range | None | None | ||
![]() |
inCyclic | bool | False | ||
![]() |
inEdgeScanParams | EdgeScanParams | EdgeScanParams(ProfileInterpolationMethod.Quadratic4, 0.6, 5.0, EdgeTransition.BrightToDark) | Parameters controlling the edge extraction process | |
![]() |
inMinDistance | float | 0.0 - ![]() |
0.0 | Minimal distance between consecutive edges |
![]() |
inMaxDistance | float | None | 0.0 - ![]() |
None | Maximal distance between consecutive edges |
![]() |
inLocalBlindness | LocalBlindness | None | None | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges | |
![]() |
outEdges | list[ProfileEdge] | Found edges | ||
![]() |
outDistances | list[float] | Output distances between consecutive edges | ||
![]() |
outResponseProfile | Profile | None | None | Profile of the edge (derivative) operator response |



