You are here: Start » AVL.NET » AVS.ProfileLocalExtrema Method

AVS.ProfileLocalExtrema Method

Finds the locations at which the values of the input profile are locally highest or lowest.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ProfileLocalExtrema
(
	AvlNet.Profile inProfile,
	AvlNet.Range? inRange,
	bool inCyclic,
	AvlNet.ExtremumType inExtremumType,
	AvlNet.ProfileInterpolationMethod inInterpolationMethod,
	bool inConsiderPlateaus,
	float? inMinValue,
	float? inMaxValue,
	AvlNet.LocalBlindness? inLocalBlindness,
	IList<AvlNet.Extremum1D> outLocalExtrema
)

Parameters

Name Type Range Default Description
inProfileAvlNet.ProfileInput profile.
inRangeAvlNet.Range?
inCyclicboolIndicates whether the last element should be considered a neighbour of the first element.
inExtremumTypeAvlNet.ExtremumTypeType of extremum to find.
inInterpolationMethodAvlNet.ProfileInterpolationMethodQuadratic4When interpolation is set to Quadratic each non-plateau extremum is located using a parabola fit. Default value: Quadratic4.
inConsiderPlateausboolTrueIndicates whether the result should include centers of plateau extrema. Default value: True.
inMinValuefloat?Minimum value of an extremum. Default value: atl::NIL.
inMaxValuefloat?Maximum value of an extremum. Default value: atl::NIL.
inLocalBlindnessAvlNet.LocalBlindness?Defines conditions in which weaker extrema can be detected in the vicinity of stronger ones. Default value: atl::NIL.
outLocalExtremaSystem.Collections.Generic.IList<AvlNet.Extremum1D>Extrema of the profile values.

Function Overrides

See also