Matrix of an Image

By manipulating the associated matrix of an image I need to create an up-side-down as well as left-to-right corresponding image. How can this be done with an image?

Answers (1)

flippedImage = flipud(yourImage); Flip top to bottom.
flippedImage = fliplr(yourImage); % Flip left and right.

Asked:

on 4 Feb 2015

Answered:

on 4 Feb 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!