You are here: Start » AVL.NET » Function Reference » Profile » Profile Features » AVL.ProfileRidges

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,
	AvlNet.Range? inRange,
	bool inCyclic,
	AvlNet.RidgeScanParams inRidgeScanParams,
	float inMinDistance,
	float? inMaxDistance,
	AvlNet.LocalBlindness? inLocalBlindness,
	IList<AvlNet.ProfileRidge> outRidges
)

Parameters

Name Type Range Default Description
inProfileAvlNet.ProfileInput profile.
inRangeAvlNet.Range?
inCyclicbool
inRidgeScanParamsAvlNet.RidgeScanParamsRidgeScanParams ( 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 ).
inMinDistancefloat<0.0f, INF>0.0fMinimal distance between consecutive ridges. Default value: 0.0f.
inMaxDistancefloat?<0.0f, INF>Maximal distance between consecutive ridges. Default value: atl::NIL.
inLocalBlindnessAvlNet.LocalBlindness?Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: atl::NIL.
outRidgesSystem.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

See also