mirror_image — 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 'diagonal', about the main diagonal x=y. Note that the Mode 'diagonal' can only be applied to images that have the same width and height.
mirror_image can be executed on OpenCL devices if the input image does not exceed the maximum size of image objects of the selected device. However, execution might be faster on the CPU, especially for the mode 'row'.
Axis of reflection.
Default value: 'row'
List of values: 'column', 'diagonal', 'row'
read_image(Image,'monkey') dev_display (Image) mirror_image(Image,MirrorImage,'row') dev_display (MirrorImage)
hom_mat2d_rotate, hom_mat2d_reflect, affine_trans_image, rotate_image