ErodeRegion_Threshold
Erodes a region with inThresholdValue pixels of inKernel.
Syntax
C++
C#
Python
def ErodeRegion_Threshold( inRegion: Region, inKernel: Region, inThresholdValue: int, outRegion: Region, /, *, inKernelAnchor: Location | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRegion | Region | Input region | ||
![]() |
inKernel | Region | |||
![]() |
inKernelAnchor | Location | None | None | ||
![]() |
inThresholdValue | int | 0 - ![]() |
||
![]() |
outRegion | Region | Output region |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.



