FFTW fftwf_plan_r2r_2d() with FFTW_REDFT01 equivalent
问题 I am trying to port code that uses FFTW to use KissFFT. The code uses fftwf_plan_r2r_2d() with FFTW_REDFT01. What would be the equivalent call in KissFFT? If this call (with FFTW_REDFT01 ) is equivalent to a DCT, could I just use a direct DCT transform instead, e.g. such as OpenCV cv::dct? Is there some input data modification I'd need to do, like reflections and symmetrizations? 回答1: Answering my own question... With the help of these two references, I ended up not using DFT at all, but