finding rotation of angle

3 次查看(过去 30 天)
kash
kash 2012-2-3
i have 2 images,one is say" dock.jpg"image and the second is same image ,but rotated 45 or some other angle.is it possible to say that the second image is how much rotated in angle from first,
please help
the image is grayscale
its size is 128x128

回答(2 个)

Elad
Elad 2012-2-3
you can use imrotate() running over angles and subtract the result with the original image until you get a zero matrix.

Sean de Wolski
Sean de Wolski 2012-2-3
showdemo ipexaerial
Might help get you started.

Community Treasure Hunt

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

Start Hunting!

Translated by