Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Spatial Transforms » MirrorImage
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Reverses the order of the input image columns or rows depending on inMirrorDirection value.
Syntax
C++
C#
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 is optimized for NEON technology for pixels of type: 3xUINT8.
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.