DilateImage_Mask


Replaces each pixel with the maximum of pixels within a small rectangular kernel.

Syntax

C++
Python
 
def DilateImage_Mask(
	inImage: Image,
	outImage: Image,
	/,
	*,
	inRoi: Region | None = None,
	inKernel: MorphologyKernel = MorphologyKernel.Box3x3
)
-> None

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inRoi Region | None None Range of outImage pixels to be computed
Input value inKernel MorphologyKernel MorphologyKernel.Box3x3 Selects a predefined kernel
Output value 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.