You are here: Start » AVL.NET » AVL.SplitChannels

AVL.SplitChannels

Creates several monochromatic images from individual channels of the input image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SplitChannels
(
	AvlNet.Image inImage,
	AvlNet.Image outMonoImage1,
	AvlNet.Image outMonoImage2,
	NullableRef<AvlNet.Image> outMonoImage3,
	NullableRef<AvlNet.Image> outMonoImage4
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
outMonoImage1AvlNet.ImageImage of the first channel.
outMonoImage2AvlNet.ImageImage of the second channel.
outMonoImage3AvlNet.NullableRef<AvlNet.Image>Image of the third channel (if exists). Can be null to skip this parameter calculation.
outMonoImage4AvlNet.NullableRef<AvlNet.Image>Image of the fourth channel (if exists). Can be null to skip this parameter calculation.

Description

The operation extracts the color channels of inImage as separate monochromatic images. Outputs corresponding to non-existing channels of an image are set to Nil.

Examples

An example image used as inImage.

The resulting outMonoImage1.

The resulting outMonoImage2.

The resulting outMonoImage3.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

Function Overrides

See also