You are here: Start » AVL.NET » AVL.ConvertToMultichannel(AvlNet.Image, AvlNet.Region, int, AvlNet.Image)

AVL.ConvertToMultichannel(AvlNet.Image, AvlNet.Region, int, AvlNet.Image)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void ConvertToMultichannel(
	AvlNet.Image inMonoImage,
	AvlNet.Region inRoi,
	int inNewDepth,
	out AvlNet.Image outImage
)

Parameters

inMonoImage
Type: AvlNet.Image
inRoi
Type: AvlNet.Region
inNewDepth
Type: System.Int32
outImage
Type: AvlNet.Image

Description

The operation computes multichannel image equivalent to monochromatic inMonoImage. The number of channels in the resulting image is determined by the inNewDepth parameter. Each of the channels in outImage will be equal to the only channel of the inMonoImage.

Note that the operation does not alter the appearance of the image in the IDE.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Errors

Error type Description
DomainError Not a monochromatic input in ConvertToMultichannel.

See also