3
$\begingroup$

I have to implement DCT-II and its inverse which is equivalently given by a forward DCT-III. All from real to real.

I have been checking some paper where it is specified how to do it. However, I already have kissfft as a dependency so I can use FFT and iFFT. I have implemented DCT-II using FFT and an extra space of 4N. I found three different ways to do it here.

For DCT-III, I wounder if I can do the inverse in a clever way (as in the last link) or if I have to implement it using the formula.

$\endgroup$
  • 1
    $\begingroup$ Look for Chen 1977 famous paper that describes and explicitly shows a fast DCT-II and its inverse for N=8,16, etc... $\endgroup$ – Fat32 Nov 24 '16 at 0:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.