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

Invoke.CropSurface_Dynamic

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_Dynamic
(
	Avl.Surface inSurface,
	Optional<Avl.Region> inRoi,
	int inRadiusX,
	Optional<int> inRadiusY,
	Optional<float> inMinRelativeHeight,
	Optional<float> inMaxRelativeHeight,
	float inHysteresis,
	bool inPreserveDimensions,
	Avl.Surface outSurface,
	Optional<Avl.Region> outRejected,
	Diagnostic<Avl.Surface> diagBaseSurface
)

Parameters

Name Type Range Default Description
inSurfaceAvl.SurfaceInput surface.
inRoiAtl.Optional<Avl.Region>Region of interest. Default value: atl::NIL.
inRadiusXint<0, INF>1Horizontal radius of internal mean blur. Default value: 1.
inRadiusYAtl.Optional<int><0, INF>Vertical radius of internal mean blur (Auto = inRadiusX). Default value: atl::NIL.
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.
diagBaseSurfaceAvl.Diagnostic<Avl.Surface>Diagnostic blurred input surface.

See also