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

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void SelectChannel(
	AvlNet.Image inImage,
	AvlNet.Region inRoi,
	int inChannelIndex,
	out AvlNet.Image outImage
)

Parameters

inImage
Type: AvlNet.Image
inRoi
Type: AvlNet.Region
inChannelIndex
Type: System.Int32
outImage
Type: AvlNet.Image

Description

The operation extracts the selected color channel of inImage.

Examples

An example image used as inImage.

The resulting outImage when inChannelIndex = 0.

The resulting outImage when inChannelIndex = 1.

The resulting outImage when inChannelIndex = 2.

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 Channel index out of range in SelectChannel.

See also