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. The use of cosine rather than sine functions is critical for compression, since it turns out (as described below) that fewer cosine functions are needed to approximate a typical signal, whereas for differential equations the cosines express a particular choice of boundary conditions.
The following matlab project contains the source code and matlab examples used for dct.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.
Project Files:
Dct viewer in matlab
Dct exchange in matlab
Dct co efficients generator in matlab
1d dct in matlab
Resize any arrays and images in matlab
Directional discrete cosine transform in matlab
Multidimensional discrete cosine transform (dct) in matlab
Two types dct ii, dct iv and dst ii, dst iv in matlab
Dct and dst (+ inverse) in arbitrary dimension in matlab
Circular convolution using dct and dst in matlab
Quick & easy smoothing in matlab
Type ii dct, improvement to matlab's dct
Multi focus image fusion in dct domain in matlab
Scalable mpeg compression based on dct coefficients in matlab
Dct laplacian pyramid based image fusion in matlab
Dct 8x8 basis functions in matlab
Novel image fusion techniques using dct in matlab
2dct two dimensional contaminant transport modeling in matlab
Job estimator in matlab
Type ii inverse dct (i.e. type iii dct) in matlab
Ecg compression in matlab
Multi focus image fusion for visual sensor networks in dct domain in matlab
Discrete cosine transform based image fusion techniques in matlab
Basis images generation of 4*4 order of dct, dst, walsh, hadamard , haar and slant in matlab
Cluster setup scripts in matlab