"khoo" <email@example.com> wrote in message <firstname.lastname@example.org>... > "Matt " <email@example.com> wrote in message <firstname.lastname@example.org>... > > "khoo" <email@example.com> wrote in message <firstname.lastname@example.org>... > > > 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 gradient-angle 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.