You are here: Start » AVL.NET » AVL.ProfileRidges Method

AVL.ProfileRidges Method

Finds the high or low peaks in the input profile.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ProfileRidges(
	AvlNet.Profile inProfile,
	bool inCyclic,
	AvlNet.RidgeScanParams inRidgeScanParams,
	float inMinDistance,
	float? inMaxDistance,
	AvlNet.LocalBlindness? inLocalBlindness,
	out AvlNet.ProfileRidge[] outRidges,
	out float[] outDistances,
	out AvlNet.Profile diagResponseProfile
)

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.
inMaxDistancefloat?<0.0f, INF>Maximal distance between consecutive ridges. Default value: atl::NIL, or null.
inLocalBlindnessAvlNet.LocalBlindness?Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: atl::NIL, or null.
outRidgesAvlNet.ProfileRidgeFound ridges.
outDistancesfloatOutput distances between consecutive ridges
diagResponseProfileAvlNet.ProfileProfile of the ridge operator response.

See also