Back to FabImage Library website
You are here: Start » Function Reference » Image Spatial Transforms » MirrorImage
Header: | FIL.h |
---|---|
Namespace: | fil |
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.
See Also
- TransposeImage – Flips and rotates an image so that columns are exchanged with rows.