Discrete cosine transform projects and source code

Dct Matlab Code

A discrete cosine transform (DCT) expresses a finite sequence of data points in terms of a sum of cosine functions oscillating at different frequencies. DCTs are important to numerous applications in science and engineering, from lossy compression of audio (e.g. MP3) and images (e.g. JPEG) (where small high-frequency components can be discarded), to spectral methods for the numerical solution of partial differential equations.

Directional discrete cosine transform in matlab

The following Matlab project contains the source code and Matlab examples used for directional discrete cosine transform. DDCT is demonstrated with different block size and different modes. The details algorithm can be referred at http://link.springer.com/article/10.1007/s12596-013-0148-7?no-access=true VPS Naidu "Hybrid DDCT-PCA based multi sensor image fusionJournal of Optics", Volume 43, Issue 1, pp 48-61, March 2014,    

2 d dct idct for jpeg compression in matlab

The following Matlab project contains the source code and Matlab examples used for 2 d dct idct for jpeg compression. to understand the Algorithm go to matlab help in page dct2 and idct2 to get the mathematical expression for M = N = 8, we can calculate the most of hard values and save it as LUTs to speed up the execution now compare our special 8X8 functions with the internal general functions use this code: A = int32(100*rand(8,8)); tic;for i = 1 : 1000 IDCT_8X8(DCT_8X8(A));end;toc; tic;for i = 1 : 1000 idct2(dct2(A));end;toc;

Directional discrete cosine transform and principal component analysis based image fusion in matlab

The following Matlab project contains the source code and Matlab examples used for directional discrete cosine transform and principal component analysis based image fusion. Image fusion algorithm based on DDCT and PCA is demonstrated. The reference is: VPS Naidu, "Hybrid DDCT-PCA base multi sensor image fusion”, Journal of Optics, Vol. 43, No.1, pp.48-61, March 2014.

Dft & dct in matlab

The following Matlab project contains the source code and Matlab examples used for dft & dct. Code provided here works for 1-D signal. If you want to process it for 2-D signal (ex. GrayScale Image) first process the signal row wise and after that column wise.
Subscribe to RSS - Discrete cosine transform