You are here: Start » AVL.NET » Function Reference » Image » Image Conversions » 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 | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
outMonoImage1 | AvlNet.NullableRef<AvlNet.Image> | Image of the first channel. Can be null to skip this parameter calculation. | |||
outMonoImage2 | AvlNet.NullableRef<AvlNet.Image> | Image of the second channel (if exists). Can be null to skip this parameter calculation. | |||
outMonoImage3 | AvlNet.NullableRef<AvlNet.Image> | Image of the third channel (if exists). Can be null to skip this parameter calculation. | |||
outMonoImage4 | 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 empty images.
Examples
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.