You are here: Start » FIL.NET » Function Reference » Image » Image Local Transforms » FIL.ErodeImage_Mask
Replaces each pixel with the minimum of pixels within a small rectangular kernel.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void ErodeImage_Mask ( FilNet.Image inImage, FilNet.MorphologyKernel inKernel, FilNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inKernel | FilNet.MorphologyKernel | Selects a predefined kernel. | ||
![]() | outImage | FilNet.Image | Output image. |
Description
The operation replaces each pixel with the darkest pixel in its neighbourhood, thus shrinking bright areas in inImage and expanding the dark ones.
This filter is a simplified version of ErodeImage. It is limited to only a few symmetric kernels and supports only basic ROI handling.
Please note that on some machines the filter execution time can be greater than execution time of the corresponding ErodeImage filter.
Examples
![]() |
![]() |
ErodeImage_Mask performed on the sample image with inKernel = Box3x3.
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.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region exceeds an input image in ErodeImage_Mask. |