Mathematics, Fourier Transform, Image Processing, Numpy.
be try aligning the top left pixel in image 1 with every pixel in image 2 and see which one yields the best match. Match perfectness can be defined quantitatively as inner product between the 2 images (viewed as flattened 1d vectors). A larger inner product indicates a better match because it is