CropSurface_Dynamic


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

Syntax

C++
C#
Python
 
def CropSurface_Dynamic(
	inSurface: Surface,
	outSurface: Surface,
	/,
	*,
	inRoi: Region | None = None,
	inRadiusX: int = 1,
	inRadiusY: int | None = None,
	inMinRelativeHeight: float | None = None,
	inMaxRelativeHeight: float | None = None,
	inHysteresis: float = 0.0,
	inPreserveDimensions: bool = False,
	outRejected: Region | None = None,
	diagBaseSurface: Surface | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inSurface Surface Input surface
Input value inRoi Region | None None Region of interest
Input value inRadiusX int 0 - 1 Horizontal radius of internal mean blur
Input value inRadiusY int | None 0 - None Vertical radius of internal mean blur (Auto = inRadiusX)
Input value inMinRelativeHeight float | None None Minimum relative height of a point to be not removed
Input value inMaxRelativeHeight float | None None Maximum relative height of a point to be not removed
Input value inHysteresis float 0.0 - 0.0 Defines how much the threshold criteria are lowered for points neighboring with other not removed points
Input value inPreserveDimensions bool False Flag indicating whether the surface dimensions should be preserved or not
Output value outSurface Surface
Output value outRejected Region | None None Region of locations where points are removed
Diagnostic input diagBaseSurface Surface | None None Diagnostic blurred input surface

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.