BottomHatImage_Mask
Performs a morphological black top hat (bottom hat) operation on a image using a predefined mask.
Syntax
C++
Python
def BottomHatImage_Mask( inImage: Image, outImage: Image, /, *, inRoi: Region | None = None, inBorderColor: Pixel | 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 |
![]() |
inBorderColor | Pixel | None | None | Color of the imaginary pixels outside the image boundaries |
![]() |
inKernel | MorphologyKernel | MorphologyKernel.Box3x3 | Selects kernel shape |
![]() |
outImage | Image | Output image |
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: all formats (when inSourceRoi = NIL and inBorderColor = NIL).
This operation is optimized for NEON technology for pixels of types: all formats (when inSourceRoi = NIL and inBorderColor = NIL).
This operation supports automatic parallelization for multicore and multiprocessor systems.


