how to calculate the angle of rotated image
Show older comments

If i have an image that is already rotated ... lets say just like the image attached ... how can i calculate the angle of the rotation and rotate the image again to return it to its normal "straight"
2 Comments
madhan ravi
on 21 Oct 2018
Edited: madhan ravi
on 21 Oct 2018
upload your code
Mahmoud Hassan
on 21 Oct 2018
Answers (1)
KSSV
on 22 Oct 2018
I = imread('Empreinte3.bmp') ;
I1 = imrotate(I, 90) ;
imshow(I1) ;
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!