Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image Conversions » SelectChannel

SelectChannel


Creates an image from a single channel of the input image.

Name Type Range Description
inImage Image Input image
inRoi Region* Range of pixels to be processed
inChannelIndex Integer 0 - 3
outImage Image Output image

Description

The operation extracts the selected color channel of inImage.

Examples

Description of usage of this filter can be found in examples and tutorial: Image Modification Using the HMI.

An example image used as inImage.

The resulting outImage when inChannelIndex = 0.

The resulting outImage when inChannelIndex = 1.

The resulting outImage when inChannelIndex = 2.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

This filter can throw an exception to report error. Read how to deal with errors here: Error Handling

Error type Description
DomainError Channel index out of range in SelectChannel.

Complexity Level

This filter is available on Basic Complexity Level.

See Also