From: Parag S. Chandakkar on
I am doing image registration using Fourier-Mellin Transform. Till
now, the algorithm which I am following is as follows:
1. read two images and take their FFT
2. shift both the ffts to the centre of the spectrum using fftshift
3. convolve both fft magnitudes with a high pass filter
4. transform both into log polar space
5. take ffts of both quantities which are converted into log polar
space
6. Compute phase correlation of both ffts
7. Find the location (x,y) of the peak of the phase correlation
8. Compute angle (360 / Image Y Size) * y

I am not understanding the step no 8, how did they get this formula
for RECOVERY OF ANGLE OF ROTATION and step no. 3 i.e. WHY TO CONVOLVE
BOTH FFT MAGNITUDES WITH HPF?

Can you please tell me the answers?

If you want the code which I have, please tell.
Thank You.