Back to Aurora Vision Library website
You are here: Start » Function Reference » Image » Image Conversions » ReverseChannels
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationLite |
Reverses the order of channels in an image.
Applications: E.g. when one has an RGB image, but needs to convert to BGR.
Syntax
C++
C#
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 |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inImage and outImage
Read more about In-place Computation.
Examples
Hardware Acceleration
This operation is optimized for SSSE3 technology for pixels of type: 3xUINT8.
This operation supports automatic parallelization for multicore and multiprocessor systems.
See Also
- SelectChannel – Creates an image from a single channel of the input image.
- MergeChannels – Creates a multichannel image from several monochromatic ones.