[IPOL discuss] Fast DCT using FFTW3

Miguel Colom Miguel.Colom at cmla.ens-cachan.fr
Tue Feb 28 13:37:13 CET 2012


Dear all,
in case you may need it, I've written code that uses the FFTW library to
compute the orthonormal 2D DCT-II of image blocks.

The code configures FFTW to use a real-to-real transform and then
normalizes the output so the result is a orthogonal DCT. It's really fast.

The code sniplet is here:
http://dev.ipol.im/~colom/tools/sniplets/DCT_sniplet.c

Best,
Miguel



More information about the discuss mailing list