필터 지우기
필터 지우기

how to calculate the angle of rotated image

조회 수: 5 (최근 30일)
Mahmoud Hassan
Mahmoud Hassan 2018년 10월 21일
답변: KSSV 2018년 10월 22일

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
madhan ravi
madhan ravi 2018년 10월 21일
편집: madhan ravi 2018년 10월 21일
upload your code
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) ;

Community Treasure Hunt

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

Start Hunting!

Translated by