You are here: Start » AVL.NET » Function Reference » Image » Image Conversions » AVL.SplitChannels_OrNil

AVL.SplitChannels_OrNil

Creates several monochromatic images from individual channels of the input image and sets Nil for channels that are not present.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

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

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

See also