finding rotation of angle

2 views (last 30 days)
kash
kash on 3 Feb 2012
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

Answers (2)

Elad
Elad on 3 Feb 2012
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 on 3 Feb 2012
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!