Function mrpt::math::dft2_complex
Defined in File fourier.h
Function Documentation
-
void mrpt::math::dft2_complex(const CMatrixFloat &in_real, const CMatrixFloat &in_imag, CMatrixFloat &out_real, CMatrixFloat &out_imag)
Compute the 2D Discrete Fourier Transform (DFT) of a complex matrix, returning the real and imaginary parts separately.
See also
- Parameters:
in_real – The N_1xN_2 matrix with the real part.
in_imag – The N_1xN_2 matrix with the imaginary part.
out_real – The N_1xN_2 output matrix which will store the real values (user has not to initialize the size of this matrix).
out_imag – The N_1xN_2 output matrix which will store the imaginary values (user has not to initialize the size of this matrix). If the dimensions of the matrix are powers of two, the fast fourier transform (FFT) is used instead of the general algorithm.