Rotate an image by a given angle

I have an image. I want to rotate this image by a given angle. How do I do this?  

 Accepted Answer

To rotate an image by a given angle, you can make use of the "imrotate" function in MATLAB.
As an example :
>> I = imread('pout.tif');
>> J = imrotate(I,20);
>> imshow(J);
 

More Answers (0)

Products

Release

R2015b

Community Treasure Hunt

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

Start Hunting!