SmoothImage_Mean_Mask


Smooths an image by averaging pixels within a small rectangular kernel.

Applications:This is a faster alternative to SmoothImage_Mean when the kernel is very small.

Syntax

C++
Python
 
def SmoothImage_Mean_Mask(
	inImage: Image,
	outImage: Image,
	/,
	*,
	inRoi: Region | None = None,
	inKernel: MeanKernel = MeanKernel.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 MeanKernel MeanKernel.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.

This operation is optimized for AVX2 technology for pixels of types: SSE2: UINT8, SINT16.

This operation is optimized for NEON technology for pixels of types: UINT8, SINT8, UINT16, SINT16.

This operation supports automatic parallelization for multicore and multiprocessor systems.