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: Sun, 5 Apr 2009 11:12:01 +0000 (UTC)
Organization: haha
Lines: 20
Message-ID: <gra3m1$o1m$1@fred.mathworks.com>
References: <gr4ten$oks$1@fred.mathworks.com> <gr4u55$add$1@fred.mathworks.com> <gr4v19$60a$1@fred.mathworks.com> <gr82h2$d9h$1@fred.mathworks.com> <gr86ie$m8l$1@fred.mathworks.com> <gr96k1$cgv$1@fred.mathworks.com> <gra0s1$7d0$1@fred.mathworks.com> <gra1tq$a1t$1@fred.mathworks.com>
Reply-To: "khoo" <jim_khoo@hotmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1238929921 24630 172.30.248.37 (5 Apr 2009 11:12:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 5 Apr 2009 11:12:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1113304
Xref: news.mathworks.com comp.soft-sys.matlab:530428

"Dave Robinson" <dave.robinson@somewhere.biz> wrote in message 
> > the max_angle i find is 1 every time..but when i check im8 value, got other value max  than 1..so how i need to do the find the peak value?
> 
> The correlation you should get from doing the Re(IFFT ....) is a one dimensional graph, whereas the max(max... you are applying is for a 2 dimensional matrix. 
> 
> Try to plot what you have called im8 and see if you end up with a graph showing a peak.
> 
> When I try to access your image I get a message indicating it has been deleted or removed.
> 
> Sorry about your dead line, but it is Sunday here, and it is only just luck I caught this mail, as I have family responsibilities to deal with on a weekend.
> 
> Good Luck & Regards
> 
> Dave Robinson

i will try to figure out what you teach..but if u got free time, try help me out here..i will keep update my process at here..

this is the image : 
http://i278.photobucket.com/albums/kk119/khoo011/image2.jpg
http://i278.photobucket.com/albums/kk119/khoo011/image1.jpg