ErodeImage_Mask
Replaces each pixel with the minimum of pixels within a small rectangular kernel.
Syntax
C++
Python
def ErodeImage_Mask( inImage: Image, outImage: Image, /, *, inRoi: Region | None = None, inKernel: MorphologyKernel = MorphologyKernel.Box3x3 ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inRoi | Region | None | None | Range of outImage pixels to be computed |
![]() |
inKernel | MorphologyKernel | MorphologyKernel.Box3x3 | Selects a predefined kernel |
![]() |
outImage | Image | Output image |
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT16, UINT16.
This operation is optimized for AVX2 technology for pixels of types: UINT8, SINT16, UINT16.
This operation is optimized for NEON technology for pixels of types: UINT8, SINT8, SINT16, UINT16, SINT32, REAL.
This operation supports automatic parallelization for multicore and multiprocessor systems.


