如果我有两个相同场景的图像,参考图像和移位图像,移位可以在 x 或 y 方向,我想使用傅立叶变换的移位属性来估计移位。
S1 = fftshift(fft2(im1)); % Fourier transform of the reference image
S2 = fftshift(fft2(im2)); % Fourier transform of the image to be registered
Q = S1./S2;
A = angle(Q);
我如何使用相移A
来估计两个方向的偏移?