Computes masked cross-correlation of two images using fast Fourier methods. Compatible with OpenCV!