mirror_image ( Image : ImageMirror : Mode : )

Mirror an image.

mirror_image reflects an image Image about one of three possible axes. If Mode is set to 'row', it is reflected about the horizontal axis, if Mode is set to 'column', about the vertical axis, and if Mode is set to 'main', about the main diagonal x=y.


Parameters

Image (input_object)
(multichannel-)image(-array) -> object : byte / int2 / uint2 / int4 / real
Input image.

ImageMirror (output_object)
(multichannel-)image(-array) -> object : byte / int2 / uint2 / int4 / real
Reflected image.

Mode (input_control)
string -> string
Axis of reflection.
Default value: 'row'
List of values: 'row', 'column', 'main'


Example
read_image(Image,'affe') 
disp_image(Image,WindowHandle) 
mirror_image(Image,MirImage,'row').
disp_image(MirImage,WindowHandle) 

Parallelization Information

mirror_image is reentrant and automatically parallelized (on tuple level, channel level).


Alternatives

hom_mat2d_rotate, affine_trans_image, rotate_image


See also

rotate_image, hom_mat2d_rotate


Module

Image filters



Copyright © 1996-2005 MVTec Software GmbH