khoo
Posts:
63
Registered:
8/9/08
|
|
Re: How to calculate the angle between two images?
Posted:
Apr 6, 2009 7:58 AM
|
|
> Why are you histogramming im8? which should be the correlation that you are looking for - just plot im8 and if everything else is correct then you should have one dimensional distribution reaching a peak at the position corresponding to the relative rotation angle of the 2 images. > > Regards > > Dave Robinson
Bro Dave, this is the im8 graph after i plot out..but why the peak will at left side?? izit my inverse FFt do wrong?
http://i278.photobucket.com/albums/kk119/khoo011/grapg.jpg
and this is the part of code after i change..jz the below part of the code
im7=hist(im22222(:),256); im77=conj(fft(im7)); im8=real(ifft(im66.*im77)); plot(im8)
|
|