CropSurface_Relative


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_Relative(
	inSurface: Surface,
	inBaseSurface: Surface,
	outSurface: Surface,
	/,
	*,
	inRoi: Region | None = None,
	inMinRelativeHeight: float | None = None,
	inMaxRelativeHeight: float | None = None,
	inHysteresis: float = 0.0,
	inPreserveDimensions: bool = False,
	outRejected: Region | 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 inBaseSurface Surface Heights of this surface are subtracted from inSurface heights before crop
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

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.