Here is my code. What should I do next? How can I calculate horizontal and vertical offset amount of two images? (I3 and I4 are shifted images)
I1 = imread('cameraman.tif');
I3 = I1(65:196, 65:196);
I4 = I1(75:206,65:196);
F3 = fft2(I3);
F4 = fft2(I4);
FF = conj(F3).* F4;
Is = ifft2(FF);
figure, mesh(fftshift(Is))