mirror_image ( Image : ImageMirror : Mode : )

Reflect an image.

mirror_image reflects an image Image about one of three possible axes. If Mode is set to 'row' ist, 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
Input image.

ImageMirror (output_object)
(multichannel-)image(-array) -> object : byte
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:::) >
mirror_image(Image:MirImage:'row':).
disp_image(MirImage:::) >

Alternatives

image_rotate, image_transform__, rotate_image


See also

rotate_image, image_rotate



Copyright © 1996-1997 MVTec Software GmbH