Back to Aurora Vision Library Lite website

You are here: Start » Image » Image Spatial Transforms » MirrorImage

MirrorImage


Header: AVL.h
Namespace: avl

Reverses the order of the input image columns or rows depending on inMirrorDirection value.

Syntax

void avl::MirrorImage
(
	const avl::Image& inImage,
	avl::MirrorDirection::Type inMirrorDirection,
	avl::Image& outImage
)

Parameters

Name Type Default Description
Input value inImage const Image& Input image
Input value inMirrorDirection MirrorDirection::Type Vertical Reverse the order of image columns (horizontal direction) or rows (vertical direction).
Output value 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.