Code covered by the BSD License  

Highlights from
Chess with "Greedy Edi"

image thumbnail
from Chess with "Greedy Edi" by Wolfgang Garn
Play chess against "Greedy Edi".

mirrorImage

mirrorImage

mirrorImage do X upside down.

Contents

Syntax

Y = mirrorImage(X)

Description

reverses the direction of the given image

Inputs:

  • X ... uint8 nxm matrix (n,m>1)

Outputs:

  • Y ... uint8 nxm matrix up side down

Example

Given is an uint8 image matrix (which was loaded with imread), with Y = mirrorImage(X) you get the image upside down.

See also

fliplr, image, imread

Signature

  • Copyright 2006 W.Garn

Contact us at files@mathworks.com