ErodeSurfacePoints
Removes some existing points from the input surface when some points in their vicinity are missing.
Syntax
C++
C#
Python
def ErodeSurfacePoints( inSurface: Surface, inKernel: KernelShape, inRadiusX: int, inPreserveDimensions: bool, outSurface: Surface, /, *, inRoi: Region | None = None, inRadiusY: int | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inSurface | Surface | Input surface | ||
![]() |
inRoi | Region | None | None | Region of interest | |
![]() |
inKernel | KernelShape | Kernel shape (predefined) | ||
![]() |
inRadiusX | int | 0 - ![]() |
Nearly half of the kernel's width (2*R+1) | |
![]() |
inRadiusY | int | None | 0 - ![]() |
None | Nearly half of the kernel's height (2*R+1), or same as inRadiusX |
![]() |
inPreserveDimensions | bool | Flag indicating whether the surface dimensions should be preserved or not | ||
![]() |
outSurface | Surface | Output surface |



