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.

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

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.