how to calculate the angle of rotated image

4 次查看(过去 30 天)

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 个评论
Mahmoud Hassan
Mahmoud Hassan 2018-10-21
bro , my code isn't concerned with what i wanna do now ... if u received this image from a scanner ... how can u rotate this image to make it straight ... and you don't know the angle of rotation

请先登录,再进行评论。

回答(1 个)

KSSV
KSSV 2018-10-22
I = imread('Empreinte3.bmp') ;
I1 = imrotate(I, 90) ;
imshow(I1) ;

类别

Help CenterFile Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by