An Improved HAAR Particle Swarm Optimization Integrated with a Dual-Stage Huffman Coding Framework for Energy Efficient Wireless Sensor Networks
Received: 9 December 2025 | Revised: 9 February 2026, 5 March 2026, and 15 March 2026 | Accepted: 18 March 2026 | Online: 6 June 2026
Corresponding author: Nalina Santanahalli Basavarajappa
Abstract
The conservation and efficient utilization of energy are crucial in Wireless Sensor Networks (WSNs) due to the limited battery power, bandwidth, and processing capacity of sensor nodes. To address the high energy cost of data transmission, image compression techniques are employed to minimize the amount of data transmitted while maintaining acceptable image quality. This study presents a hybrid image compression approach that combines the HAAR wavelet transform, Particle Swarm Optimization (PSO), and Huffman coding for efficient image transmission in WSNs. The proposed method first applies a 2D HAAR wavelet transform to decompose the image and reduce spatial redundancy. Huffman coding is then used to assign shorter codewords to frequently occurring coefficients, further enhancing compression efficiency. PSO is utilized to optimize critical parameters, such as quantization thresholds and wavelet decomposition levels, achieving an optimal trade-off between compression ratio and image quality. Simulation studies were conducted to validate the efficacy of the proposed PSO-HAAR-Huffman approach, demonstrating considerable gains in Peak Signal-to-Noise Ratio (PSNR) and memory savings while significantly minimizing transmission energy consumption. PSNR, SSIM, and MSE were measured to evaluate system performance, and the experimental results show that the proposed method exhibits superior performance. Energy consumption was reduced, which confirmed effectiveness during image transmission while preserving reconstruction quality. The proposed optimization-based compression technique offers an intelligent and energy-efficient solution for image handling in resource-constrained WSN environments.
Keywords:
particle swarm optimization, Huffman compression, image compression, compression ratio, space saving, peak signal to noise ratioReferences
B. A. Lungisani, A. M. Zungeru, C. K. Lebekwe, and A. Yahya, "Optimized Block-Based Lossy Image Compression Technique for Wireless Sensor Networks," IEEE Access, vol. 11, pp. 131245–131259, 2023.
A. Khan, A. Khan, M. Khan, and M. Uzair, "Lossless image compression: application of Bi-level Burrows Wheeler Compression Algorithm (BBWCA) to 2-D data," Multimedia Tools and Applications, vol. 76, no. 10, pp. 12391–12416, May 2017.
S. Thomas, A. Krishna, S. Govind, and A. K. Sahu, "A novel image compression method using wavelet coefficients and Huffman coding," Journal of Engineering Research, vol. 13, no. 1, pp. 361–370, Mar. 2025.
M. Khan, A. El Saddik, F. S. Alotaibi, and N. T. Pham, "AAD-Net: Advanced end-to-end signal processing system for human emotion detection & recognition using attention-based deep echo state network," Knowledge-Based Systems, vol. 270, June 2023, Art. no. 110525.
N. Brahimi, T. Bouden, T. Brahimi, and L. Boubchir, "Lossy image compression based on efficient multiplier-less 8-points DCT," Multimedia Systems, vol. 28, no. 1, pp. 171–182, Feb. 2022.
Y. Hu, W. Yang, Z. Ma, and J. Liu, "Learning End-to-End Lossy Image Compression: A Benchmark," IEEE Transactions on Pattern Analysis and Machine Intelligence, pp. 1–1, 2021.
X. Liu, P. An, Y. Chen, and X. Huang, "An improved lossless image compression algorithm based on Huffman coding," Multimedia Tools and Applications, vol. 81, no. 4, pp. 4781–4795, Feb. 2022.
A. Halder, A. Kundu, A. Sarkar, and K. Palodhi, "A Memory-Efficient Image Compression Method Using DWT Applied to Histogram-Based Block Optimization," in Emerging Technologies in Data Mining and Information Security, 2019, pp. 287–295.
A. J. Hussain, A. Al-Fayadh, and N. Radi, "Image compression techniques: A survey in lossless and lossy algorithms," Neurocomputing, vol. 300, pp. 44–69, July 2018.
Y. Hu, W. Yang, Z. Ma, and J. Liu, "Learning End-to-End Lossy Image Compression: A Benchmark," IEEE Transactions on Pattern Analysis and Machine Intelligence, 2021.
A. Pradhan, S. K. Bisoy, and A. Das, "A survey on PSO based meta-heuristic scheduling mechanism in cloud computing environment," Journal of King Saud University - Computer and Information Sciences, vol. 34, no. 8, Part A, pp. 4888–4901, Sept. 2022.
L. Rundo, A. Tangherloni, C. Militello, M. C. Gilardi, and G. Mauri, "Multimodal medical image registration using Particle Swarm Optimization: A review," in 2016 IEEE Symposium Series on Computational Intelligence (SSCI), Dec. 2016, pp. 1–8.
A. S. Nasif, Z. A. Othman, N. S. Sani, M. K. Hasan, and Y. Abudaqqa, "Huffman Deep Compression of Edge Node Data for Reducing IoT Network Traffic," IEEE Access, vol. 12, pp. 122988–122997, 2024.
S. More, V. Sanivarapu, Y. Sharma, V. M. Thigale, and M. Suguna, "Enhancing Data Compression: A Dynamic Programming Approach with Huffman Coding and Burrows-Wheeler Transform," in 2023 2nd International Conference on Automation, Computing and Renewable Systems (ICACRS), Dec. 2023, pp. 82–88.
H. Zhan, "Image compression and reconstruction based on GUI and Huffman coding," Journal of Physics: Conference Series, vol. 2580, no. 1, June 2023, Art. no. 012025.
R. Ranjan, P. Kumar, K. Naik, and V. K. Singh, "The HAAR-the JPEG based image compression technique using singular values decomposition," in 2022 2nd International Conference on Emerging Frontiers in Electrical and Electronic Technologies (ICEFEET), June 2022, pp. 1–6.
M. Otair, L. Abualigah, and M. K. Qawaqzeh, "Improved near-lossless technique using the Huffman coding for enhancing the quality of image compression," Multimedia Tools and Applications, vol. 81, no. 20, pp. 28509–28529, Aug. 2022.
"ImageNet." [Online]. Available: https://www.image-net.org/.
"Kodak Lossless True Color Image Suite." COVE, [Online]. Available: https://cove.thecvf.com/datasets/712.
Downloads
How to Cite
License
Copyright (c) 2026 Nalina Santanahalli Basavarajappa, Shreedhar A. Joshi

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.
