You are here: Start » AVL.NET » Invoke.CropSurface_Relative

Invoke.CropSurface_Relative

Removes from the surface points that are relatively too distant from their average neighbor points in a local rectangular neighborhood.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CropSurface_Relative
(
	Avl.Surface inSurface,
	Optional<Avl.Region> inRoi,
	Avl.Surface inBaseSurface,
	Optional<float> inMinRelativeHeight,
	Optional<float> inMaxRelativeHeight,
	float inHysteresis,
	bool inPreserveDimensions,
	Avl.Surface outSurface,
	Optional<Avl.Region> outRejected
)

Parameters

Name Type Range Default Description
inSurfaceAvl.SurfaceInput surface.
inRoiAtl.Optional<Avl.Region>Region of interest. Default value: atl::NIL.
inBaseSurfaceAvl.SurfaceHeights of this surface are subtracted from inSurface heights before crop.
inMinRelativeHeightAtl.Optional<float>Minimum relative height of a point to be not removed. Default value: atl::NIL.
inMaxRelativeHeightAtl.Optional<float>Maximum relative height of a point to be not removed. Default value: atl::NIL.
inHysteresisfloat<0.0f, INF>0.0fDefines how much the threshold criteria are lowered for points neighboring with other not removed points. Default value: 0.0f.
inPreserveDimensionsboolFalseFlag indicating whether the surface dimensions should be preserved or not. Default value: False.
outSurfaceAvl.Surface
outRejectedAtl.Optional<Avl.Region>Region of locations where points are removed.

See also