Back to Adaptive Vision Library Lite website
You are here: Start » Image Conversions » ReverseChannels
![](../../img/icon\ReverseChannels.png)
ReverseChannels
Reverses the order of channels in an image.
Syntax
void avl::ReverseChannels ( const avl::Image& inImage, avl::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImage | const Image& | Input image | |
![]() |
outImage | Image& | Output image with reversed channels |
Examples
![]() |
![]() |
Channels reversed from RGB to BGR on the Lena image.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
See Also
- MergeChannels – Creates a multichannel image from several monochromatic ones.
- SelectChannel – Creates an image from a single channel of the input image.