You are here: Start » FIL.NET » Function Reference » Image » Image Conversions » FIL.MergeChannels
Creates a multichannel image from several monochromatic ones.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void MergeChannels ( FilNet.Image inMonoImage1, FilNet.Image inMonoImage2, FilNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inMonoImage1 | FilNet.Image | An image that becomes the first channel. | ||
![]() | inMonoImage2 | FilNet.Image | An image that becomes the second channel. | ||
![]() | outImage | FilNet.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
![]() An example image used as inMonoImage1. |
![]() An example image used as inMonoImage2. |
![]() An example image used as inMonoImage3. |
![]() The resulting outImage. |
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. |
DomainError | Not supported inMonoImage1 pixel format in MergeChannels. Supported formats: 1xUInt8, 1xInt8, 1xUInt16, 1xInt16, 1xInt32, 1xReal. |
DomainError | Not supported inMonoImage2 pixel format in MergeChannels. Supported formats: 1xUInt8, 1xInt8, 1xUInt16, 1xInt16, 1xInt32, 1xReal. |