ConvertToMultichannel


Creates a multichannel image from a monochromatic one by replicating its channel.

Syntax

C++
Python
 
def ConvertToMultichannel(
	inMonoImage: Image,
	inNewDepth: int,
	outImage: Image,
	/,
	*,
	inRoi: Region | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inMonoImage Image
Input value inRoi Region | None None Range of pixels to be processed
Input value inNewDepth int 1 - 4
Output value outImage Image Output image

Hardware Acceleration

This operation is optimized for SSSE3 technology for pixels of types: 3xUINT8, 3xSINT8, 3xUINT16, 3xSINT16, 3xSINT32, 3xREAL.

This operation is optimized for NEON technology for pixels of types: 3xUINT8, 3xSINT8, 3xUINT16, 3xSINT16, 3xSINT32, 3xREAL.

This operation supports automatic parallelization for multicore and multiprocessor systems.