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

FIL.SurfaceLocalMaxima

Finds surface locations characterized by locally maximal heights.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inSurfaceFilNet.Surface
inConsiderPlateausboolConsider multi-pixel maxima (plateaus) or not.
inMinHeightfloat?Minimal height of maximum to be considered. Default value: ftl::NIL.
inMaxHeightfloat?Maximal height of maximum to be considered. Default value: ftl::NIL.
inMinDistancefloat<0.0f, INF>Minimal distance between two found maxima.
outLocalMaximaFilNet.NullableRef<System.Collections.Generic.List<FilNet.SurfaceExtremum>>Found local maxima. Can be null to skip this parameter calculation.
outMaximaRegionsFilNet.NullableRef<FilNet.SafeList<FilNet.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