BLOCK-BASED DISCRETE COSINE TRANSFORM FOR IMAGE COMPRESSION: IMPLEMENTATION AND EVALUATION IN MATLAB
Keywords:
image compression, discrete cosine transform, block processing, quantization, MATLAB, PSNR, quantization matrixAbstract
This work presents the development and software implementation of a digital image compression system based on block-wise discrete cosine transform (DCT) in MATLAB. The system employs a block processing algorithm (8×8 pixels) combined with adaptive quantization, which is derived from the standard JPEG luminance matrix and scaled according to a user-specified quality factor. A graphical user interface (GUI) provides interactive control over the compression process, allowing users to adjust quality from 1 to 100 and instantly evaluate performance using metrics such as PSNR, BPP, and compression ratio (CR). Experimental results show that the system effectively balances file size reduction and visual quality, making it a practical tool for both educational purposes and research in digital signal processing.
References
Chen, W.-H., & Pratt, W. K. (1984). Scene adaptive coder. IEEE Transactions on Communications, 32(3), 225–232. https://web.stanford.edu/class/ee398a/handouts/papers/ChenPrattSceneAdaptiveCoder.pdf
Gonzalez, R. C., & Woods, R. E. (2018). Digital image processing (4th ed.). Pearson.
Internet Society. (2024). Global Internet report: Image format statistics. https://www.internetsociety.org/reports/
Liu, H., Chen, Y., & Zhang, X. (2023). Deep learning-based image compression: A comprehensive survey. IEEE Transactions on Image Processing, 32, 2780–2798. https://doi.org/10.1109/TIP.2023.3267890
MathWorks. (2024). MATLAB documentation: Image Processing Toolbox: imwrite function. MathWorks. https://www.mathworks.com/help/images/ref/imwrite.html
Decree of the President of the Republic of Uzbekistan dated September 11, 2023, No. PF-95 "On the Development Strategy of the Republic of Uzbekistan until 2030". (2023). National Legal Electronic Database. https://lex.uz
Pennebaker, W. B., & Mitchell, J. L. (1992). JPEG: Still image data compression standard. Van Nostrand Reinhold.
Rabbani, M., & Joshi, R. (2002). An overview of the JPEG 2000 still image compression standard. Signal Processing: Image Communication, 17(1), 3–48. https://www.di.univr.it/documenti/OccorrenzaIns/matdid/matdid956927.pdf
Salomon, D. (2007). Data compression: The complete reference (4th ed.). Springer. https://doi.org/10.1007/978-0-387-44899-0
Wallace, G. K. (1992). The JPEG still picture compression standard. IEEE Transactions on Consumer Electronics, 38(1), xviii–xxxiv. https://doi.org/10.1109/30.134066