Back to Adaptive Vision Library website
You are here: Start » Function Reference » Profile Features » ProfileRidges

ProfileRidges
Finds the high or low peaks in the input profile.
Syntax
C++
C#
void avl::ProfileRidges ( const avl::Profile& inProfile, bool inCyclic, const avl::RidgeScanParams& inRidgeScanParams, float inMinDistance, atl::Optional<float> inMaxDistance, atl::Optional<const avl::LocalBlindness&> inLocalBlindness, atl::Array<avl::ProfileRidge>& outRidges, atl::Optional<atl::Array<float>&> outDistances = atl::NIL, avl::Profile& diagResponseProfile = dummy(avl::Profile) )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inProfile | const Profile& | Input profile | ||
![]() |
inCyclic | bool | |||
![]() |
inRidgeScanParams | const RidgeScanParams& | RidgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5 RidgeMargin: 2 MinMagnitude: 5.0f RidgePolarity: Bright ) | Parameters controlling the ridge extraction process | |
![]() |
inMinDistance | float | 0.0 - ![]() |
0.0f | Minimal distance between consecutive ridges |
![]() |
inMaxDistance | Optional<float> | 0.0 - ![]() |
NIL | Maximal distance between consecutive ridges |
![]() |
inLocalBlindness | Optional<const LocalBlindness&> | NIL | Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges | |
![]() |
outRidges | Array<ProfileRidge>& | Found ridges | ||
![]() |
outDistances | Optional<Array<float>&> | NIL | Output distances between consecutive ridges | |
![]() |
diagResponseProfile | Profile& | Profile of the ridge operator response |