You are here: Start » AVL.NET » Function Reference » Image » Image Conversions » 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,
	NullableRef<AvlNet.Image> outMonoImage1,
	NullableRef<AvlNet.Image> outMonoImage2,
	NullableRef<AvlNet.Image> outMonoImage3,
	NullableRef<AvlNet.Image> outMonoImage4
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
outMonoImage1AvlNet.NullableRef<AvlNet.Image>Image of the first channel. Can be null to skip this parameter calculation.
outMonoImage2AvlNet.NullableRef<AvlNet.Image>Image of the second channel (if exists). Can be null to skip this parameter calculation.
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 empty images.

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.

See also