You are here: Start » AVL.NET » AVL.MergeChannels
Creates a multichannel image from several monochromatic ones.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void MergeChannels ( AvlNet.Image inMonoImage1, AvlNet.Image inMonoImage2, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inMonoImage1 | AvlNet.Image | An image that becomes the first channel. | |||
inMonoImage2 | AvlNet.Image | An image that becomes the second channel. | |||
outImage | AvlNet.Image | Output image. |
Description
The operation combines the given monochromatic images to obtain a color image, each of its channels equal to the only channel of the corresponding input image.
Examples
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Image sizes are not equal in MergeChannels. |
DomainError | Input image is not monochromatic in MergeChannels. |
DomainError | Pixel types of the input images are not the same in MergeChannels. |