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,
	bool inCyclic,
	AvlNet.RidgeScanParams inRidgeScanParams,
	float inMinDistance,
	IList<AvlNet.ProfileRidge> outRidges
)

Parameters

Name Type Range Default Description
inProfileAvlNet.ProfileInput profile.
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.
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