FFT2-Algorithm
Because of the separability of 2D DFT, we can rewrite its definition as:
This shows that a 2D FFT can be broken down into a series of 1D Fourier transforms. To compute a 2D FFT, 1D Fourier transform is applied to each individual row of the input matrix and then to each column.
Origin uses the FFTW library for its Fast Fourier Transform code.