Mathematics, Fourier Transform, Image Processing, Numpy.
Fourier transform algorithm. With the help of numpy, the algorithm can be concisely implemented as follows. import numpy as np def phase_correlation(a, b): R = np.fft.fft2(a) * np.fft.fft2(b).conj() r = np.abs(np.fft.ifft2(R)) return r Experiment Let’s say we have a following picture on our