You are here: Start » AVL.NET » Function Reference » Surface » Surface Features » AVL.SurfaceLocalMaxima

AVL.SurfaceLocalMaxima

Finds surface locations characterized by locally maximal heights.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SurfaceLocalMaxima
(
	AvlNet.Surface inSurface,
	bool inConsiderPlateaus,
	float? inMinHeight,
	float? inMaxHeight,
	float inMinDistance,
	NullableRef<List<AvlNet.SurfaceExtremum>> outLocalMaxima,
	NullableRef<SafeList<AvlNet.Region>> outMaximaRegions
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.Surface
inConsiderPlateausboolConsider multi-pixel maxima (plateaus) or not.
inMinHeightfloat?Minimal height of maximum to be considered. Default value: atl::NIL.
inMaxHeightfloat?Maximal height of maximum to be considered. Default value: atl::NIL.
inMinDistancefloat<0.0f, INF>Minimal distance between two found maxima.
outLocalMaximaAvlNet.NullableRef<System.Collections.Generic.List<AvlNet.SurfaceExtremum>>Found local maxima. Can be null to skip this parameter calculation.
outMaximaRegionsAvlNet.NullableRef<AvlNet.SafeList<AvlNet.Region>>Regions of local maxima (plateaus and singletons). Can be null to skip this parameter calculation.

Errors

List of possible exceptions:

Error type Description
DomainError Region of interest exceeds an input surface in SurfaceLocalMaxima.

Function Overrides

See also