You are here: Start » AVL.NET » Function Reference » Profile » Profile Features » AVL.ProfileRidges
Finds the high or low peaks in the input profile.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ProfileRidges ( AvlNet.Profile inProfile, bool inCyclic, AvlNet.RidgeScanParams inRidgeScanParams, float inMinDistance, IList<AvlNet.ProfileRidge> outRidges )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inProfile | AvlNet.Profile | Input profile. | ||
![]() | inCyclic | bool | |||
![]() | inRidgeScanParams | AvlNet.RidgeScanParams | RidgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5 RidgeMargin: 2 MinMagnitude: 5.0f RidgePolarity: Bright ) | Parameters controlling the ridge extraction process. Default value: RidgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5 RidgeMargin: 2 MinMagnitude: 5.0f RidgePolarity: Bright ). | |
![]() | inMinDistance | float | <0.0f, INF> | 0.0f | Minimal distance between consecutive ridges. Default value: 0.0f. |
![]() | outRidges | System.Collections.Generic.IList<AvlNet.ProfileRidge> | Found ridges. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Range exceeds the input profile in ProfileRidges. |
Function Overrides
- ProfileRidges(Profile, Nullable<Range>, Boolean, RidgeScanParams, Single, Nullable<Single>, Nullable<LocalBlindness>, IList<ProfileRidge>)
- ProfileRidges(Profile, Nullable<Range>, Boolean, RidgeScanParams, Single, Nullable<Single>, Nullable<LocalBlindness>, IList<ProfileRidge>, IList<Single>, Profile)
- ProfileRidges(Profile, Nullable<Range>, Boolean, RidgeScanParams, Single, Nullable<Single>, Nullable<LocalBlindness>, IList<ProfileRidge>, NullableRef<List<Single>>, NullableRef<Profile>)