AverageChannels_251


Creates a monochromatic image by averaging the input image channels.

Applications:Conversion to mono which is more consistent with human perception (our eyes are more sensitive to green).

Syntax

C++
Python
 
def AverageChannels_251(
	inImage: Image,
	outImage: Image,
	/,
	*,
	inRoi: Region | None = None
)
-> None

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inRoi Region | None None Range of pixels to be processed
Output value outImage Image Output image

Hardware Acceleration

This operation is optimized for SSSE3 technology for pixels of type: 3xUINT8.

This operation is optimized for AVX2 technology for pixels of type: 3xUINT8.

This operation is optimized for NEON technology for pixels of type: 3xUINT8.

This operation supports automatic parallelization for multicore and multiprocessor systems.