SmoothImage_Mean_AnyKernel


Smooths an image by averaging pixels within an arbitrary kernel.

Applications:Usually used for computing features related to local image "windows" having non-standard shape.

Syntax

C++
C#
Python
 
def SmoothImage_Mean_AnyKernel(
	inImage: Image,
	inKernel: Region,
	outImage: Image,
	/,
	*,
	inRoi: Region | None = None,
	inSourceRoi: Region | None = None,
	inBorderColor: Pixel | None = None,
	inKernelAnchor: Location | None = None
)
-> 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 inSourceRoi Region | None None Range of inImage pixels to be considered in computations
Input value inBorderColor Pixel | None None Color of the imaginary pixels outside the image boundaries
Input value inKernel Region Kernel shape (any)
Input value inKernelAnchor Location | None None A location within inKernel, defining its center
Output value outImage Image Output image

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.