From: Raj Kamal on
Iam finding out correlation between two images using the following command

correlation = fftshift(real(ifft2(conj(fft2(double(sub_image_1))).*fft2(double(sub_image_2)))));


then finding out the peaks of the correlation field.

Why the peaks are always at integral x,y???

Ne knows please help me.

With regards
Raj