how i can to rotate images

1 view (last 30 days)
maram mig
maram mig on 9 Mar 2016
Edited: Explorer on 9 Mar 2016
help me in this assignment
  1 Comment
Adam
Adam on 9 Mar 2016
If you have Image Processing Toolbox
doc imrotate
If you don't then working with images is certainly less simple!

Sign in to comment.

Accepted Answer

Explorer
Explorer on 9 Mar 2016
Edited: Explorer on 9 Mar 2016
Let's say the name of the image is flower.jpg
img=imread('flower.jpg'); % Reads image
rot_img=imrotate(img,90); % Rotates image
imshow(rot_img) % show image

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by