DSPRelated.com
Forums

DCT reference software

Started by daisy21 November 3, 2006
Hi,
Does anyone know of any reference software to perform a DCT on an image? 
Does the image have to be in a certain format?

Thanks!


daisy21 wrote:
> Hi, > Does anyone know of any reference software to perform a DCT on an image? > Does the image have to be in a certain format? > > Thanks!
I am going to venture a guess and say that if you took 5 seconds and put 'discrete cosine transform' into a search engine, you would find what you're looking for.
daisy21 wrote:
> Does anyone know of any reference software to perform a DCT on an image? > Does the image have to be in a certain format?
Our FFTW software (www.fftw.org) can compute 2d DCTs of arbitrary size, given a matrix of floating-point numbers. You should be aware that there are actually 8 types of DCT, with slightly different boundary conditions. The most common type is the type-II DCT, however, so I'm guessing that this is what you want. Regards, Steven G. Johnson