Function mrpt::math::dft2_real
Defined in File fourier.h
Function Documentation
-
void mrpt::math::dft2_real(const CMatrixFloat &in_data, CMatrixFloat &out_real, CMatrixFloat &out_imag)
Compute the 2D Discrete Fourier Transform (DFT) of a real matrix, returning the real and imaginary parts separately.
See also
fft_real, ifft2_read, fft2_complex If the dimensions of the matrix are powers of two, the fast fourier transform (FFT) is used instead of the general algorithm.
- Parameters:
in_data – The N_1xN_2 matrix.
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).