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 | |
|---|---|---|---|---|---|
![]() |
inSurface | Surface | Input surface | ||
![]() |
inRoi | Region | None | None | Region of interest | |
![]() |
inRadiusX | int | 0 - ![]() |
1 | Horizontal radius of internal mean blur |
![]() |
inRadiusY | int | None | 0 - ![]() |
None | Vertical radius of internal mean blur (Auto = inRadiusX) |
![]() |
inMinRelativeHeight | float | None | None | Minimum relative height of a point to be not removed | |
![]() |
inMaxRelativeHeight | float | None | None | Maximum relative height of a point to be not removed | |
![]() |
inHysteresis | float | 0.0 - ![]() |
0.0 | Defines how much the threshold criteria are lowered for points neighboring with other not removed points |
![]() |
inPreserveDimensions | bool | False | Flag indicating whether the surface dimensions should be preserved or not | |
![]() |
outSurface | Surface | |||
![]() |
outRejected | Region | None | None | Region of locations where points are removed | |
![]() |
diagBaseSurface | Surface | None | None | Diagnostic blurred input surface |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.




