Path: news.mathworks.com!not-for-mail From: "khoo" <jim_khoo@hotmail.com> Newsgroups: comp.soft-sys.matlab Subject: Re: How to calculate the angle between two images? Date: Mon, 6 Apr 2009 15:16:02 +0000 (UTC) Organization: haha Lines: 7 Message-ID: <grd6bi$bsi$1@fred.mathworks.com> References: <gr4ten$oks$1@fred.mathworks.com> <grd4l5$m4s$1@fred.mathworks.com> Reply-To: "khoo" <jim_khoo@hotmail.com> NNTP-Posting-Host: webapp-05-blr.mathworks.com Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Trace: fred.mathworks.com 1239030962 12178 172.30.248.35 (6 Apr 2009 15:16:02 GMT) X-Complaints-To: news@mathworks.com NNTP-Posting-Date: Mon, 6 Apr 2009 15:16:02 +0000 (UTC) X-Newsreader: MATLAB Central Newsreader 1113304 Xref: news.mathworks.com comp.soft-sys.matlab:530779 "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 gradient-angle technique. the radon() function no need theta to to work on??