JPEG Encoder Decoder

image encode/decode using DCT, quantization, zigzag reordering & run-level coding of JPEG standard
15.3K Downloads
Updated 18 Jun 2007

View License

This is a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen's Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. 'RUN' - 'LEVEL' coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious.

Cite As

Muhammad Anwarul Azim (2026). JPEG Encoder Decoder (https://www.mathworks.com/matlabcentral/fileexchange/15335-jpeg-encoder-decoder), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

JPEG Encoder Decoder/JPEG Encoder Decoder/

Version Published Release Notes
1.0.0.0