Matt
Posts:
1,141
Registered:
1/28/09


Re: How to calculate the angle between two images?
Posted:
Apr 6, 2009 1:30 PM


"khoo" <jim_khoo@hotmail.com> wrote in message <grd6bi$bsi$1@fred.mathworks.com>... > "Matt " <xys@whatever.com> wrote in message <grd4l5$m4s$1@fred.mathworks.com>... > > "khoo" <jim_khoo@hotmail.com> wrote in message <gr4ten$oks$1@fred.mathworks.com>... > > > Hi all, currently i face the problem to find the rotation angle...i got one image is rotate in unknown angle compare with the original image, but i not have idea how to calculate the angle cause the angle is a variable angle..can anyone senior teach me here,...need it urgently...and i quite noob in image processing.. > > > > Another approach is to use the radon() function (assuming you have the image proc toolbox) of both images. The rotations of the 2 images will manifest as a shift in their radon projections. You can then use correlation techniques to compute the shift. Because this employs integration operations instead of differentiation, it might be more robust to noise than the gradientangle technique. > > the radon() function no need theta to to work on??
Yes. You would choose RADON's vector argument THETA to suit the range and sampling fineness of rotation angles that you want.

