Submitted:
31 July 2023
Posted:
02 August 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Literature Review
3. Fundamental Concepts
3.1. Principal Component
- ❖
- PCA is a standard method for reducing the number of dimensions.
- ❖
- The variables are changed into a fresh set of data, known as primary components. These principal components are combinations of initial variables in linear form and they are orthogonal.
- ❖
- The first principal component accounts for the majority of the potential variation in the original data.
- ❖
- The second principal component addresses the data variance.
- Step-01
- : Obtaining data.
- Step-01
- Step-02: Determining the mean vector (µ).
- Step-01
- Step-03: Subtracting the mean value from the data.
- Step-01
- Step-04: Doing a covariance matrix calculation.
- Step-01
- Step-05: Determining the covariance matrix's Eigenvalues and Eigenvectors.
- Step-01
- Step-06: Assembling elements to create a feature vector.
- Step-01
- Step-07: Creating a novel data set.
3.2. Discrete Wavelet Transform: The Operational Principle of DWT
3.3. Thresholding: Hard Thresholding
3.4. Entropy Encoder: Canonical Huffman coding
4. Proposed Method
4.1. Basic Procedure
4.2. PCA Based Compression
4.3. DWT-CHC Based Compression
- Step 1: Bit streams are compressed.
- Step 2: The reverse canonical Huffman coding process is applied to retrieve the reconstructed lower and higher sub band coefficient from the compressed bit streams of approximate and detail coefficients.
- Step 3: To get the normalized coefficients for the lower and higher sub bands, their respective coefficients are divided by 127 and 63.
- Step 4: The equation is applied to do inverse normalization on the normalized lower and higher sub band.
- Step 5: Inverse DWT is applied to obtain an image that has been rebuilt.
4.4. PCA-DWT-CHC Based Image Compression
- (i)
- For a C(x, y) grayscale image with an x×y pixel size, by using the PCA method, is decomposed first in order to obtain the Principal Component.
- (ii)
- If the image is in color, the color transform is used to change the RGB data into
5. Performance Assessment
6. Experiment Result
6.1. Visual Performance Evaluation of Proposed PCA-DWT-CHC Method
6.2. Objective Performance Evaluation of Proposed PCA-DWT-CHC Method
6.3. Time Complexity Analysis OF Proposed PCA-DWT-CHC Method
7. Conclusion
References
- P. M. Latha and A. A. Fathima, “Collective Compression of Images using Averaging and Transform coding,” Measurement, vol. 135, pp. 795-805, Mar. 2019. [CrossRef]
- Sarah H. Farghaly, Samar M. Ismail, “Floating-point discrete wavelet transform-based image compression on FPGA,” AEU International Journal of Electronics and Communications, vol. 124, pp. 153363-73, Sep. 2020. [CrossRef]
- Messaoudi A, Srairi K, “Colour image compression algorithm based on the dct transform using difference lookup table.” Electron Lett. vol. 52, no. 20, pp. 1685–1686, Sep. 2016. [CrossRef]
- B. Ge, N. Bouguila, & W. Fan, “Single-target visual tracking using color compression and spatially weighted generalized Gaussian mixture models.” Pattern Anal Applic., vol. 25, pp. 285–304, Jan. 2022. [CrossRef]
- E. Delp and O. Mitchell, "Image Compression Using Block Truncation Coding," in IEEE Transactions on Communications, vol. 27, no. 9, pp. 1335-1342, Sep. 1979. [CrossRef]
- M. Lema and O. Mitchell, "Absolute Moment Block Truncation Coding and Its Application to Color Images," in IEEE Transactions on Communications, vol. 32, no. 10, pp. 1148-1157, Oct. 1984. [CrossRef]
- J. Mathews, M. S. Nair and L. Jo, "Modified BTC algorithm for gray scale images using max-min quantizer," 2013 International Mutli-Conference on Automation, Computing, Communication, Control and Compressed Sensing (iMac4s), Kottayam, India, 2013, pp. 377-382. [CrossRef]
- J. Mathews, M. S. Nair and L. Jo, “Improved BTC Algorithm for Gray Scale Images Using K-Means Quad Clustering,” In: proc. The 19th International Conference on Neural Information Processing, ICONIP 2012, Part IV, LNCS 7666, Doha, Qatar, 2012, pp. 9–17. [CrossRef]
- J. Mathews, M. S. Nair, “Adaptive block truncation coding technique using edge-based quantization approach,” Computers & Electrical Engineering, vol. 43, pp. 169-179, Apr. 2015. [CrossRef]
- P. N. T. Ammah, E. Owusu, “Robust medical image compression based on wavelet transform and vector quantization,” Informatics in Medicine Unlocked, vol. 15, pp. 100183 (1-11), Apr. 2019. [CrossRef]
- R. Kumar, U. Patbhaje, A. Kumar, “An efficient technique for image compression and quality retrieval using matrix completion,” Journal of King Saud University - Computer and Information Sciences, vol. 34, no. 4, pp. 1231-1239, Apr. 2022. [CrossRef]
- Zhou Wei, Sun Lijuan, Guo Jian, Liu Linfeng, “Image compression scheme based on PCA for wireless multimedia sensor networks,” The Journal of China Universities of Posts and Telecommunications, vol. 23, no. 1, pp. 22-30, Feb. 2016. [CrossRef]
- H. A. F. Almurib, T. N. Kumar and F. Lombardi, "Approximate DCT Image Compression Using Inexact Computing," IEEE Transactions on Computers, vol. 67, no. 2, pp. 149-159, Feb. 2018. [CrossRef]
- R. Ranjan, and P. Kumar, “An Efficient Compression of Gray Scale Images Using Wavelet Transform,” Wireless Pers. Commun., vol. 126, pp. 3195-3210, Jun. 2022. [CrossRef]
- P. A. Cheremkhin, E. A. Kurbatova, “Wavelet compression of off-axis digital holograms using real /imaginary and amplitude/phase parts.” Nature research, Scientific Reports, vol. 9, pp. 7561 (1-13), May 2019. [CrossRef]
- R. Ranjan, “Canonical Huffman Coding Based Image Compression using Wavelet,” Wireless Pers. Commun., vol. 117, no. 3, pp. 2193–2206, Apr. 2021. [CrossRef]
- S. M. Ahmed, Q. Al-Zoubi, M. Abo-Zahhad, “A hybrid ECG compression algorithm based on singular value decomposition and discrete wavelet transform,” J Med Eng Technol., vol. 31, no. 1, pp. 54– 61, Feb. 2007. [CrossRef]
- A. Boucetta, K. E. Melkemi, “DWT Based-Approach for Color Image Compression Using Genetic Algorithm,” In A. Elmoataz, D. Mammass, O. Lezoray, F. Nouboud & D. Aboutajdine (eds.), ICISP 2012, 2012, pp. 476-484.
- A. Messaoudi, K. Srairi, “Colour image compression algorithm based on the dct transform using difference lookup table,” Electron Lett., vol. 52, no. 20, pp. 1685-1686, Sep. 2016. [CrossRef]
- A. K. Pandey, J. Chaudhary, A. Sharma, H. C. Patel, P. D. Sharma, V. Baghel et al., “Optimum Value of Scale and threshold for Compression of 99m To-MDP bone scan image using Haar Wavelet Transform,” Indian J Nucl Med., vol. 37, no. 2, pp. 154-61, Apr. 2022. [CrossRef]
- Jabbar Abed Eleiwy, Characterizing wavelet coefficients with decomposition for medical images, Journal of Intelligent Systems and Internet of Things, Vol. 2, No. 1, (2021): 26-32. [CrossRef]
- Mahmud Alosta , Alireza Souri, Design of Effective Lossless Data Compression Technique for Multiple Genomic DNA Sequences, Fusion: Practice and Applications, Vol. 6 , No. 1 , (2021) : 17-25. [CrossRef]
- W. Renkjumnong, “SVD and PCA in Image Processing,” M. S. thesis, Dept. arts & sci., Georgia State Uni., Alanta, GA, USA, 2007.
- R. Ranjan and P. Kumar, “Absolute Moment Block Truncation Coding and Singular Value Decomposition-Based Image Compression Scheme Using Wavelet,” In: Sharma, H., Shrivastava, V., Kumari Bharti, K., Wang, L. (eds) Communication and Intelligent Systems. Lecture Notes in Networks and Systems, vol. 461, Springer, Singapore, Aug. 2022, PP. 919-931.
- R. Ranjan, P. Kumar, K. Naik and V. K. Singh, “ The HAAR-the JPEG based image compression technique using singular values decomposition,” 2022 2nd International Conference on Emerging Frontiers in Electrical and Electronic Technologies (ICEFEET), Patna, India, 2022, pp. 1-6.
- R. Boujelbene, L. Boubchir, Y. B. Jemaa, “Enhanced embedded zerotree wavelet algorithm for lossy image coding,” IET Image Process. vol. 13, no. 8, pp. 1364–1374, May 2019. [CrossRef]
- Y Nian, Ke Xu, J Wan, L Wang, Mi He, “Block-based KLT compression for multispectral Images,” International Journal of Wavelets, Multiresol Inf Process, vol. 14, no. 4, pp. 1650029, 2016. [CrossRef]
- A. D. Andrushia, R. Thangarjan, “Saliency-Based Image Compression Using Walsh–Hadamard Transform (WHT),” In: Hemanth, J., Balas , V. (eds) Biologically Rationalized Computing Techniques For Image Processing Applications. Lecture Notes in Computational Vision and Biomechanics, vol. 25, Springer, Cham, Aug. 2017, pp. 21-42.
- A. Shaik, V. Thanikaiselvan, “Comparative analysis of integer wavelet transforms in reversible data hiding using threshold based histogram modification,” Journal of King Saud University-Computer and Information Sciences, vol. 33, no. 7, pp. 878-889, Sep. 2021. [CrossRef]
- T. Liu and Y. Wu, "Multimedia Image Compression Method Based on Biorthogonal Wavelet and Edge Intelligent Analysis," in IEEE Access, vol. 8, pp. 67354-67365, 2020. [CrossRef]
- A. A. Nashat and N. M. Hussain Hassan, "Image compression based upon Wavelet Transform and a statistical threshold," 2016 International Conference on Optoelectronics and Image Processing (ICOIP), Warsaw, Poland, 2016, pp. 20-24.
- Szymon Grabowski, Dominik Köppl, Space-efficient Huffman codes revisited, Information Processing Letters, vol. 179, pp. 106274, 2023. [CrossRef]
- S. R. Khaitu and S. P. Panday, "Canonical Huffman Coding for Image Compression," 2018 IEEE 3rd International Conference on Computing, Communication and Security (ICCCS), Kathmandu, Nepal, 2018, pp. 184-190. [CrossRef]
- H. Tang, H. Zhu, H. Tao, C. Xie, “An Improved Algorithm for Low-Light Image Enhancement Based on RetinexNet.,” Appl. Sci. , vol. 12, pp. 7268, 2022. [CrossRef]
- A. Baviskar, S. Ashtekar, A. Chintawar, "Performance evaluation of high quality image compression techniques," 2014 International Conference on Advances in Computing, Communications and Informatics (ICACCI), Delhi, India, 2014, pp. 1986-1990. [CrossRef]
- A. A. Jeny, M. B. Islam, M. S. Junayed and D. Das, "Improving Image Compression With Adjacent Attention and Refinement Block," in IEEE Access, vol. 11, pp. 17613-17625, 2023. [CrossRef]
- M. L. P. Rani, G. S. Rao and B. P. Rao, "Performance Analysis of Compression Techniques Using LM Algorithm and SVD for Medical Images," 2019 6th International Conference on Signal Processing and Integrated Networks (SPIN), Noida, India, 2019, pp. 654-659. [CrossRef]
Short Biography of Authors
![]() |
RAJIV RANJAN (Member, IEEE) holds a B. Tech in information technology, an M. Tech in computer science and engineering with a specialization in information security, and is currently pursuing a Ph. D. in computer science and engineering. He works as an Assistant Professor at BIT Sindri in Dhanbad, India. He has worked in numerous reputable technological institutions before that. He has 15 years of both teaching and research experience. He has published numerous articles in international journals and conferences as the author or coauthor. His areas of interest in study span cryptography, image compression, and data compression. |
![]() |
PRABHAT KUMAR (Senior Member, IEEE) is a Professor in Computer Science and Engineering Department at National Institute of Technology Patna, India. He is also the Professor-In-charge of the IT Services and Chairman of Computer and IT Purchase Committee, NIT Patna. He is the former Head of CSE Department, NIT Patna as well as former Bihar State Student Coordinator of Computer Society of India. He has over 100 publications in various reputed international journals and conferences. He is a member of NWG-13 (National Working Group 13) corresponding to ITU-T Study Group 13 “Future Networks, with focus on IMT-2020, cloud computing and trusted network infrastructures”. His research area includes Wireless Sensor Networks, Internet of Things, Social Networks, Operating Systems, Software Engineering, E-governance, Image Compression etc. He is a renowned scholar, reviewer, and teacher of excellence on a global scale. |






















| Tested Image |
Method | Block Size (4×4) Pixels | Block Size (8×8) Pixels | ||||||
|---|---|---|---|---|---|---|---|---|---|
| PSNR | SSIM | BPP | CR | PSNR | SSIM | BPP | CR | ||
| Lena (512×512) |
BTC | 21.4520 | 0.7088 | 2 | 4 | 21.4520 | 0.7088 | 1.2500 | 6.4000 |
| AMBTC | 35.3706 | 0.9905 | 2 | 4 | 32.0885 | 0.9639 | 1.2500 | 6.4000 | |
| MBTC | 35.8137 | 0.9904 | 2 | 4 | 32.6268 | 0.9662 | 1.2500 | 6.4000 | |
| IBTC-KQ | 40.3478 | 0.9874 | 4 | 2 | 36.4511 | 0.9664 | 2.5000 | 3.2000 | |
| ABTC-EQ | 36.9919 | 0.9632 | 2.5734 | 3.1087 | 33.8401 | 0.9305 | 1.8267 | 4.3794 | |
| DWT | 29.9001 | 0.8943 | 3.2855 | 2.4349 | 29.9001 | 0.8943 | 3.2855 | 2.4349 | |
| Proposed | 34.7809 | 0.9985 | 1.8158 | 4.4058 | 34.7809 | 0.9985 | 1.8158 | 4.4058 | |
| Lena (256×256) |
DWT | 27.0772 | 0.8326 | 3.2713 | 2.4455 | 27.0772 | 0.8326 | 3.2713 | 2.4455 |
| Proposed | 36.9556 | 0.9447 | 1.7831 | 4.4865 | 36.9556 | 0.9447 | 1.7831 | 4.4865 | |
| Barbara (512×512) |
BTC | 19.4506 | 0.6894 | 2 | 4 | 19.4506 | 0.6894 | 1.2500 | 6.4000 |
| AMBTC | 29.8672 | 0.9747 | 2 | 4 | 27.8428 | 0.9429 | 1.2500 | 6.4000 | |
| MBTC | 30.0710 | 0.9757 | 2 | 4 | 28.1069 | 0.9451 | 1.2500 | 6.4000 | |
| IBTC-KQ | 36.3729 | 0.9847 | 4 | 2 | 33.5212 | 0.9632 | 2.5000 | 3.2000 | |
| ABTC-EQ | 32.1986 | 0.9551 | 2.6966 | 2.9667 | 30.5587 | 0.9244 | 1.9487 | 4.1053 | |
| DWT | 27.7496 | 0.9242 | 3.7896 | 2.1111 | 27.7496 | 0.9242 | 3.7896 | 2.1111 | |
| Proposed | 33.3092 | 0.9986 | 1.9806 | 4.0392 | 33.3092 | 0.9986 | 1.9806 | 4.0392 | |
| Baboon (512×512) |
BTC | 20.1671 | 0.7288 | 2 | 4 | 20.1671 | 0.7288 | 1.2500 | 6.4000 |
| AMBTC | 26.9827 | 0.9639 | 2 | 4 | 25.1842 | 0.9181 | 1.2500 | 6.4000 | |
| MBTC | 27.2264 | 0.9653 | 2 | 4 | 25.4677 | 0.9216 | 1.2500 | 6.4000 | |
| IBTC-KQ | 33.8605 | 0.9777 | 4 | 2 | 31.2925 | 0.9550 | 2.5000 | 3.2 | |
| ABTC-EQ | 30.6787 | 0.9400 | 3.0363 | 2.6348 | 28.7947 | 0.9089 | 2.1571 | 3.7086 | |
| DWT | 25.9806 | 0.9479 | 4.2012 | 1.9042 | 25.9806 | 0.9479 | 4.2012 | 1.9042 | |
| Proposed | 28.0266 | 0.9984 | 2.0917 | 3.8247 | 28.0266 | 0.9984 | 2.0917 | 3.8247 | |
| Goldhill (512×512) |
BTC | 18.0719 | 0.6252 | 2 | 4 | 18.0719 | 0.6252 | 1.2500 | 6.4000 |
| AMBTC | 32.8608 | 0.9825 | 2 | 4 | 29.9257 | 0.9438 | 1.2500 | 6.4000 | |
| MBTC | 32.2422 | 0.9828 | 2 | 4 | 30.3195 | 0.9472 | 1.2500 | 6.4000 | |
| IBTC-KQ | 39.9867 | 0.9840 | 4 | 2 | 36.1776 | 0.9599 | 2.5000 | 3.2000 | |
| ABTC-EQ | 36.3085 | 0.9536 | 2.7986 | 2.8586 | 33.6061 | 0.9210 | 2.0778 | 3.8502 | |
| DWT | 28.8597 | 0.9255 | 3.6259 | 2.2064 | 28.8597 | 0.9255 | 3.6259 | 2.2064 | |
| Proposed | 33.6289 | 0.9986 | 1.9020 | 4.2061 | 33.6289 | 0.9986 | 1.9020 | 4.2061 | |
| Peppers (256×256) |
BTC | 19.4540 | 0.6306 | 2 | 4 | 19.4540 | 0.6306 | 1.2500 | 6.4000 |
| AMBTC | 30.5655 | 0.9409 | 2 | 4 | 26.7127 | 0.8547 | 1.2500 | 6.4000 | |
| MBTC | 31.1372 | 0.9444 | 2 | 4 | 27.4445 | 0.8596 | 1.2500 | 6.4000 | |
| IBTC-KQ | ----------- | --------- | -------- | --------- | ----------- | --------- | -------- | --------- | |
| ABTC-EQ | 32.0306 | 0.9551 | 2.6966 | 2.9667 | 28.9805 | 0.8985 | 2.6966 | 4.0499 | |
| DWT | 27.3524 | 0.8212 | 3.1735 | 2.5209 | 27.3524 | 0.8212 | 3.1735 | 2.5209 | |
| Proposed | 37.1723 | 0.9431 | 1.7422 | 4.5918 | 37.1723 | 0.9431 | 1.7422 | 4.5918 | |
| Cameraman (256×256) |
BTC | 20.7083 | 0.7214 | 2 | 4 | 20.7083 | 0.7214 | 1.2500 | 6.4000 |
| AMBTC | 28.2699 | 0.9322 | 2 | 4 | 25.8654 | 0.8831 | 1.2500 | 6.4000 | |
| MBTC | 29.0746 | 0.9392 | 2 | 4 | 26.9365 | 0.8934 | 1.2500 | 6.4000 | |
| IBTC-KQ | 36.7714 | 0.9890 | 4 | 2 | 33.6339 | 0.9754 | 2.5000 | 3.2 | |
| ABTC-EQ | 33.9790 | 0.9725 | 2.6418 | 3.0282 | 31.2452 | 0.9531 | 1.8325 | 4.3656 | |
| DWT | 26.4333 | 0.7483 | 2.7925 | 2.8648 | 26.4333 | 0.7483 | 2.7925 | 2.8648 | |
| Proposed | 33.4238 | 0.8578 | 1.5536 | 5.1492 | 33.4238 | 0.8578 | 1.5536 | 5.1492 | |
| Boat (256×256) |
DWT | 29.6486 | 0.8758 | 3.4099 | 2.3461 | 29.6486 | 0.8758 | 3.4099 | 2.3461 |
| Proposed | 37.9922 | 0.9575 | 1.7985 | 4.4482 | 37.9922 | 0.9575 | 1.7985 | 4.4482 | |
| Image | Proposed method | DCT-DLUT | ||
|---|---|---|---|---|
| PSNR | Bpp | PSNR | Bpp | |
| Airplane (512×512) |
47.57 | 0.27 | 31.16 | 0.48 |
| Peppers (512×512) |
47.99 | 0.32 | 31.19 | 0.88 |
| Lena (512×512) |
48.95 | 0.37 | 32.65 | 0.74 |
| Couple (256×256) |
54.60 | 0.69 | 32.62 | 0.79 |
| House (256×256) |
53.47 | 0.70 | 23.27 | 0.79 |
| Zelda (256×256) |
53.74 | 0.71 | 32.01 | 0.82 |
| Average | 59.71 | 0.51 | 35.81 | 0.75 |
| Image (256×256) |
Canonical Huffman Coding Compression time (s) |
Huffman Coding Compression time (s) |
|---|---|---|
| Boat | 95.33 | 509.70 |
| Cameraman | 70.06 | 458.11 |
| Goldhill | 86.90 | 362.90 |
| Lena | 74.45 | 410.60 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).

