how to calculate the angle of rotated image

2 visualizaciones (últimos 30 días)
Mahmoud Hassan
Mahmoud Hassan el 21 de Oct. de 2018
Respondida: KSSV el 22 de Oct. de 2018

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 comentarios
madhan ravi
madhan ravi el 21 de Oct. de 2018
Editada: madhan ravi el 21 de Oct. de 2018
upload your code
Mahmoud Hassan
Mahmoud Hassan el 21 de Oct. de 2018
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

Iniciar sesión para comentar.

Respuestas (1)

KSSV
KSSV el 22 de Oct. de 2018
I = imread('Empreinte3.bmp') ;
I1 = imrotate(I, 90) ;
imshow(I1) ;

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by