Back to FabImage Library Lite websiteYou are here:
Start »
Image »
Image Spatial Transforms »
MirrorImage
Header: |
FIL.h
|
Namespace: |
fil |
Reverses the order of the input image columns or rows depending on inMirrorDirection value.
Syntax
void fil::MirrorImage
(
const fil::Image& inImage,
fil::MirrorDirection::Type inMirrorDirection,
fil::Image& outImage
)
Parameters
|
Name |
Type |
Default |
Description |
 |
inImage |
const Image& |
|
Input image |
 |
inMirrorDirection |
MirrorDirection::Type |
Vertical |
Reverse the order of image columns (horizontal direction) or rows (vertical direction). |
 |
outImage |
Image& |
|
Output image |
Examples
MirrorImage with inMirrorDirection = Horizontal.
MirrorImage with inMirrorDirection = Vertical.
Hardware Acceleration
This operation is optimized for SSSE3 technology for pixels of types: 1xUINT8, 1xINT8, 1xUINT16, 1xINT16, 1xINT32, 1xREAL, 2xUINT8, 2xINT8, 2xUINT16, 2xINT16, 3xUINT8, 3xINT8, 4xUINT8, 4xINT8.
This operation supports automatic parallelization for multicore and multiprocessor systems.
See Also
- TransposeImage – Flips and rotates an image so that columns are exchanged with rows.