You are here: Start » FIL.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:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void CropSurface_Dynamic
(
	Fil.Surface inSurface,
	Optional<Fil.Region> inRoi,
	int inRadiusX,
	Optional<int> inRadiusY,
	Optional<float> inMinRelativeHeight,
	Optional<float> inMaxRelativeHeight,
	float inHysteresis,
	bool inPreserveDimensions,
	Fil.Surface outSurface,
	Optional<Fil.Region> outRejected,
	Diagnostic<Fil.Surface> diagBaseSurface
)

Parameters

Name Type Range Default Description
inSurfaceFil.SurfaceInput surface.
inRoiFtl.Optional<Fil.Region>Region of interest. Default value: ftl::NIL.
inRadiusXint<0, INF>1Horizontal radius of internal mean blur. Default value: 1.
inRadiusYFtl.Optional<int><0, INF>Vertical radius of internal mean blur (Auto = inRadiusX). Default value: ftl::NIL.
inMinRelativeHeightFtl.Optional<float>Minimum relative height of a point to be not removed. Default value: ftl::NIL.
inMaxRelativeHeightFtl.Optional<float>Maximum relative height of a point to be not removed. Default value: ftl::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.
outSurfaceFil.Surface
outRejectedFtl.Optional<Fil.Region>Region of locations where points are removed.
diagBaseSurfaceFil.Diagnostic<Fil.Surface>Diagnostic blurred input surface.

See also