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

AVS.CropSurface_Dynamic Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CropSurface_Dynamic
(
	AvlNet.Surface inSurface,
	int inRadiusX,
	float inHysteresis,
	bool inPreserveDimensions,
	AvlNet.Surface outSurface,
	NullableRef<AvlNet.Region> outRejected,
	AvlNet.Surface diagBaseSurface
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inRadiusXint<0, INF>1Horizontal radius of internal mean blur. Default value: 1.
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.
outSurfaceAvlNet.Surface
outRejectedAvlNet.NullableRef<AvlNet.Region>Region of locations where points are removed. Can be null to skip this parameter calculation.
diagBaseSurfaceAvlNet.SurfaceDiagnostic blurred input surface.

Function Overrides

See also