You are here: Start » AVL.NET » AVL.SelectChannel Method
AVL.SelectChannel Method
Creates an image from a single channel of the input image.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void SelectChannel( AvlNet.Image inImage, AvlNet.Region inRoi, int inChannelIndex, out AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.Region | Range of pixels to be processed. Default value: atl::NIL, or null. | |||
inChannelIndex | int | <0, 3> | |||
outImage | AvlNet.Image | Output image. |
Description
The operation extracts the selected color channel of inImage.
Examples
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
Error type | Description |
---|---|
DomainError | Channel index out of range in SelectChannel. |