Implementing FFT-algorithm to calculate image displacements with

Implementing FFT-algorithm to calculate image displacements with