Lossless Compression of Infrared Images via Pixel-Adaptive Prediction and Residual Hierarchical Decomposition
Abstract
1. Introduction
- A per-pixel adaptive prediction method based on local characteristic analysis is proposed, which combines noise compensation with strong-correlation prediction along the scanning direction to jointly enhance coding performance.
- High-energy residual blocks generated by prediction in complex texture regions are hierarchically decomposed to further eliminate spatial redundancy.
- An adaptive Golomb–Rice parameter adjustment algorithm based on neighborhood residual energy is constructed to optimize the code length distribution.
2. Related Works
2.1. Traditional Lossless Image Compression Methods
2.2. Deep Learning-Based Lossless Image Compression
2.3. Entropy Coding Techniques
3. Methods
3.1. Characteristic Analysis of Line-Scan Infrared Images
3.1.1. Stripe Noise in Line-Scan Infrared Images
3.1.2. Calculation of Row and Column Correlations
3.2. Compression Algorithm
3.2.1. Adaptive Noise-Compensated Prediction
- (1)
- Prediction mode selection
- -
- If : The local context is considered strictly uniform. The pixel is predicted using median prediction (Equation (2)) to minimize computational cost.
- -
- Otherwise : The region contains texture information or potential stripe noise. The proposed adaptive noise-compensated prediction and strong-correlation prediction (Equations (3)–(10)) is performed.
- (2)
- Median prediction
- (3)
- Adaptive noise-compensated strong-correlation prediction
3.2.2. PCA Decomposition of High-Energy Residual Blocks
- (1)
- Extraction of High-Energy Residual Blocks
- (2)
- Row-wise PCA Decomposition of Complex Texture Residual Image
- (a)
- Decomposition
- (b)
- Reconstruction
3.2.3. Minimum Nearest Neighbor Prediction for Residuals
3.2.4. Adaptive Parameter-Optimized Entropy Coding
4. Experiment and Results
4.1. Datasets
4.2. Performance Comparison and Configurations
4.3. Metrics
4.4. Experimental Results and Analysis
- 1.
- SSIM
- 2.
- CR, BPP, and Compression Speed
- 3.
- Comparison with alternative approaches
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Hou, F.; Zhang, Y.; Zhou, Y.; Zhang, M.; Lv, B.; Wu, J. Review on infrared imaging technology. Sustainability 2022, 14, 11161. [Google Scholar] [CrossRef]
- Smigaj, M.; Agarwal, A.; Bartholomeus, H.; Decuyper, M.; Elsherif, A.; de Jonge, A.; Kooistra, L. Thermal infrared remote sensing of stress responses in forest environments: A review of developments, challenges, and opportunities. Curr. For. Rep. 2024, 10, 56–76. [Google Scholar] [CrossRef]
- Zhang, C.J.; Geng, B.F.; Ma, L.M.; Lu, X.Q. Estimation of tropical cyclone size by combining sequential infrared satellite images with multi-task deep learning. IEEE Trans. Geosci. Remote Sens. 2024, 62, 1–16. [Google Scholar]
- Xu, H.; Lu, C.; Zhang, H.; Shao, Z.; Liu, G.; Ma, J. Artificial intelligence-assisted remote sensing observation, understanding, and decision. The Innovation 2025, 6, 100688. [Google Scholar] [CrossRef]
- Usamentiaga, R.; Venegas, P.; Guerediaga, J.; Vega, L.; Molleda, J.; Bulnes, F.G. Infrared thermography for temperature measurement and non-destructive testing. Sensors 2014, 14, 12305–12348. [Google Scholar] [CrossRef] [PubMed]
- Buongiorno, D.; Prunella, M.; Grossi, S.; Hussain, S.M.; Rennola, A.; Longo, N.; Di Stefano, G.; Bevilacqua, V.; Brunetti, A. Inline defective laser weld identification by processing thermal image sequences with machine and deep learning techniques. Appl. Sci. 2022, 12, 6455. [Google Scholar] [CrossRef]
- Chen, J.; Yang, X.; Lu, L.; Li, Q.; Li, Z.; Wu, W. A novel infrared image enhancement based on correlation measurement of visible image for urban traffic surveillance systems. J. Intell. Transp. Syst. 2020, 24, 290–303. [Google Scholar] [CrossRef]
- Chen, X.; Hopkins, B.; Wang, H.; O’Neill, L.; Afghah, F.; Razi, A.; Fulé, P.; Coen, J.; Rowell, E.; Watts, A. Wildland fire detection and monitoring using a drone-collected rgb/ir image dataset. IEEE Access 2022, 10, 121301–121317. [Google Scholar] [CrossRef]
- Zhang, J.; Zhou, X.; Li, L.; Hu, T.; Fansheng, C. A combined stripe noise removal and deblurring recovering method for thermal infrared remote sensing images. IEEE Trans. Geosci. Remote Sens. 2022, 60, 1–4. [Google Scholar] [CrossRef]
- Li, M.; Nong, S.; Nie, T.; Han, C.; Huang, L.; Qu, L. A novel stripe noise removal model for infrared images. Sensors 2022, 22, 2971. [Google Scholar] [CrossRef]
- Shao, Y.; Sun, Y.; Zhao, M.; Chang, Y.; Zheng, Z.; Tian, C.; Zhang, Y. Infrared image stripe noise removing using least squares and gradient domain guided filtering. Infrared Phys. Technol. 2021, 119, 103968. [Google Scholar] [CrossRef]
- Liu, Z.; Deng, H.; Zhu, X.; Li, L. Distance Constrained Sparse Representation Approach for Scene Based Nonuniformity Correction in Infrared Imaging. IEEE Access 2024, 12, 141116–141129. [Google Scholar]
- Zhang, Y. A Rate-Distortion-Classification approach for lossy image compression. Digit. Signal Process. 2023, 141, 104163. [Google Scholar] [CrossRef]
- Hu, Y.; Yang, W.; Ma, Z.; Liu, J. Learning end-to-end lossy image compression: A benchmark. IEEE Trans. Pattern Anal. Mach. Intell. 2021, 44, 4194–4211. [Google Scholar] [CrossRef]
- Rahman, M.A.; Hamada, M. Lossless image compression techniques: A state-of-the-art survey. Symmetry 2019, 11, 1274. [Google Scholar] [CrossRef]
- Altamimi, A.; Ben Youssef, B. Lossless and near-lossless compression algorithms for remotely sensed hyperspectral images. Entropy 2024, 26, 316. [Google Scholar] [CrossRef] [PubMed]
- Rawat, S.S.; Verma, S.K.; Kumar, Y. Review on recent development in infrared small target detection algorithms. Procedia Comput. Sci. 2020, 167, 2496–2505. [Google Scholar] [CrossRef]
- Mofreh, A.; Barakat, T.M.; Refaat, A.M. A new lossless medical image compression technique using hybrid prediction model. Signal Process. Int. J. 2016, 10, 20. [Google Scholar]
- Mielikainen, J.; Toivanen, P. Clustered DPCM for the lossless compression of hyperspectral images. IEEE Trans. Geosci. Remote Sens. 2004, 41, 2943–2946. [Google Scholar] [CrossRef]
- Weinberger, M.J.; Seroussi, G.; Sapiro, G. The LOCO-I lossless image compression algorithm: Principles and standardization into JPEG-LS. IEEE Trans. Image Process. 2000, 9, 1309–1324. [Google Scholar] [CrossRef]
- Chen, L.; Yan, L.; Sang, H.; Zhang, T. High-throughput architecture for both lossless and near-lossless compression modes of LOCO-I algorithm. IEEE Trans. Circuits Syst. Video Technol. 2018, 29, 3754–3764. [Google Scholar] [CrossRef]
- Zhang, M.; Tong, X.; Wang, Z.; Chen, P. Joint lossless image compression and encryption scheme based on CALIC and hyperchaotic system. Entropy 2021, 23, 1096. [Google Scholar] [CrossRef]
- Alakuijala, J.; Van Asseldonk, R.; Boukortt, S.; Bruse, M.; Comșa, I.M.; Firsching, M.; Fischbacher, T.; Kliuchnikov, E.; Gomez, S.; Obryk, R.; et al. JPEG XL next-generation image compression architecture and coding tools. In Proceedings of the Applications of Digital Image Processing XLII; SPIE: Bellingham, WA, USA, 2019; Volume 11137, pp. 112–124. [Google Scholar]
- Wiegand, T.; Sullivan, G.J.; Bjontegaard, G.; Luthra, A. Overview of the H. 264/AVC video coding standard. IEEE Trans. Circuits Syst. Video Technol. 2003, 13, 560–576. [Google Scholar] [CrossRef]
- Sullivan, G.J.; Ohm, J.R.; Han, W.J.; Wiegand, T. Overview of the high efficiency video coding (HEVC) standard. IEEE Trans. Circuits Syst. Video Technol. 2012, 22, 1649–1668. [Google Scholar] [CrossRef]
- Bross, B.; Wang, Y.K.; Ye, Y.; Liu, S.; Chen, J.; Sullivan, G.J.; Ohm, J.R. Overview of the versatile video coding (VVC) standard and its applications. IEEE Trans. Circuits Syst. Video Technol. 2021, 31, 3736–3764. [Google Scholar] [CrossRef]
- Saxena, A.; Fernandes, F.C. DCT/DST-based transform coding for intra prediction in image/video coding. IEEE Trans. Image Process. 2013, 22, 3974–3981. [Google Scholar] [CrossRef] [PubMed]
- Wallace, G.K. The JPEG still picture compression standard. IEEE Trans. Consum. Electron. 2002, 38, xviii–xxiv. [Google Scholar] [CrossRef]
- Qureshi, M.A.; Deriche, M. A new wavelet based efficient image compression algorithm using compressive sensing. Multimed. Tools Appl. 2016, 75, 6737–6754. [Google Scholar] [CrossRef]
- Rabbani, M.; Joshi, R. An overview of the JPEG 2000 still image compression standard. Signal Process. Image Commun. 2002, 17, 3–48. [Google Scholar] [CrossRef]
- Roelofs, G. PNG Lossless Image Compression. In Lossless Compression Handbook; Sayood, K., Ed.; Academic Press: San Diego, CA, USA, 2003; pp. 371–390. [Google Scholar]
- Artusi, A.; Mantiuk, R.K.; Richter, T.; Hanhart, P.; Korshunov, P.; Agostinelli, M.; Ten, A.; Ebrahimi, T. Overview and evaluation of the JPEG XT HDR image compression standard. J. Real-Time Image Process. 2019, 16, 413–428. [Google Scholar] [CrossRef]
- Belyaev, E.; Forchhammer, S. Low-complexity open-loop coding of IDR infrared images having JPEG compatibility. J. Real-Time Image Process. 2020, 17, 1547–1565. [Google Scholar] [CrossRef]
- Mohammadi, H.; Ghaderzadeh, A.; Sheikh Ahmadi, A. A novel hybrid medical data compression using Huffman coding and LZW in IoT. IETE J. Res. 2023, 69, 7831–7845. [Google Scholar] [CrossRef]
- Ballé, J.; Laparra, V.; Simoncelli, E.P. End-to-end optimized image compression. arXiv 2016, arXiv:1611.01704. [Google Scholar]
- Zhao, Y.; Luo, D.; Wang, F.; Gao, H.; Ye, M.; Zhu, C. End-to-end compression for surveillance video with unsupervised foreground-background separation. IEEE Trans. Broadcast. 2023, 69, 966–978. [Google Scholar] [CrossRef]
- van den Oord, A.; Kalchbrenner, N.; Kavukcuoglu, K. Pixel Recurrent Neural Networks. In Proceedings of the 33rd International Conference on Machine Learning (ICML); PMLR: New York, NY, USA, 2016; pp. 1747–1756. [Google Scholar]
- Salimans, T.; Karpathy, A.; Chen, X.; Kingma, D.P. PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modifications. In Proceedings of the 5th International Conference on Learning Representations (ICLR); OpenReview: Toulon, France, 2017. [Google Scholar]
- Mentzer, F.; Agustsson, E.; Tschannen, M.; Timofte, R.; Van Gool, L. Practical Full Resolution Learned Lossless Image Compression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Long Beach, CA, USA, 2019; pp. 10629–10638. [Google Scholar]
- Zhang, S.; Qian, C.; Yi, Z. iVPF: Numerical Invertible Volume Preserving Flow for Lossless Image Compression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Nashville, TN, USA, 2021; pp. 620–629. [Google Scholar]
- Ho, J.; Chen, X.; Srinivas, A.; Duan, Y.; Abbeel, P. Flow++: Improving flow-based generative models with variational dequantization and architecture design. In International Conference on Machine Learning (ICML); PMLR: Long Beach, CA, USA, 2019; pp. 2722–2730. [Google Scholar]
- Pakdaman, F.; Gabbouj, M. Comprehensive complexity assessment of emerging learned image compression on CPU and GPU. In Proceedings of the 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP); IEEE: Rhodes Island, Greece, 2023; pp. 1–5. [Google Scholar]
- Rahman, M.A.; Hamada, M. A prediction-based lossless image compression procedure using dimension reduction and Huffman coding. Multimed. Tools Appl. 2023, 82, 4081–4105. [Google Scholar] [CrossRef]
- Tate, J.E. Preprocessing and Golomb-Rice encoding for lossless compression of phasor angle data. IEEE Trans. Smart Grid. 2016, 7, 718–729. [Google Scholar] [CrossRef]
- Heo, J.; Kim, S.H.; Ho, Y.S. Improved CAVLC for H. 264/AVC lossless intra-coding. IEEE Trans. Circuits Syst. Video Technol. 2010, 20, 213–222. [Google Scholar]
- Said, A. Introduction to Arithmetic Coding Theory and Practice; Report HPL-2004-76; Hewlett-Packard Laboratories: Palo Alto, CA, USA, 2004. [Google Scholar]
- Sze, V.; Budagavi, M. High throughput CABAC entropy coding in HEVC. IEEE Trans. Circuits Syst. Video Technol. 2012, 22, 1778–1791. [Google Scholar] [CrossRef]
- Hsieh, P.A.; Wu, J.L. A review of the asymmetric numeral system and its applications to digital images. Entropy 2022, 24, 375. [Google Scholar] [CrossRef]
- Fu, C.; Du, B.; Zhang, L. Hybrid-context-based multi-prior entropy modeling for learned lossless image compression. Pattern Recognit. 2024, 155, 110632. [Google Scholar] [CrossRef]
- Ballé, J.; Minnen, D.; Singh, S.; Hwang, S.J.; Johnston, N. Variational image compression with a scale hyperprior. arXiv 2018, arXiv:1802.01436. [Google Scholar] [CrossRef]
- HM Reference Software. Available online: https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/ (accessed on 12 December 2025).
- JM Reference Software. Available online: https://iphome.hhi.de/suehring/ (accessed on 12 December 2025).
- JPEG2000 Reference Software. Available online: https://www.openjpeg.org/ (accessed on 12 December 2025).
- JPEG-XT Reference Software. Available online: https://jpeg.org/jpegxt/software.html (accessed on 12 December 2025).














| No Threshold | ||||||
|---|---|---|---|---|---|---|
| Residual Energy | 3.73 | 3.49 | 3.52 | 3.56 | 3.61 | 3.64 |
| Block Number | 14,208 | 5792 | 3307 | 2212 | 1165 | 625 |
| % | 4.13 | 4.55 | 4.48 | 4.26 | 4.26 | 3.33 |
| No Threshold | ||||||
|---|---|---|---|---|---|---|
| Residual Energy | 3.71 | 3.69 | 3.70 | 3.71 | 3.73 | 3.75 |
| Images | Resolution | Min | Max | H |
|---|---|---|---|---|
| 1 | 1024 × 1024 | 9167 | 13,481 | 9.42 |
| 2 | 1024 × 1024 | 9461 | 11,125 | 9.65 |
| 3 | 1024 × 1024 | 9469 | 11,085 | 9.63 |
| 4 | 1024 × 1024 | 9646 | 11,646 | 9.29 |
| 5 | 1024 × 1024 | 8167 | 13,653 | 11.44 |
| 6 | 1024 × 1024 | 8709 | 13,346 | 10.1 |
| 7 | 1024 × 1024 | 9190 | 13,210 | 9.66 |
| 8 | 1024 × 1024 | 9042 | 10,302 | 7.59 |
| 9 | 1024 × 1024 | 9187 | 10,407 | 8.56 |
| 10 | 1024 × 1024 | 9201 | 10,328 | 8.42 |
| 11 | 1024 × 1024 | 9225 | 10,002 | 8.02 |
| 12 | 512 × 512 | 10,814 | 11,337 | 7.73 |
| 13 | 896 × 1024 | 9833 | 10,187 | 7.54 |
| 14 | 896 × 1024 | 9784 | 10,322 | 7.9 |
| 15 | 896 × 1024 | 9946 | 10,309 | 7.47 |
| 16 | 896 × 1024 | 9896 | 10,300 | 8.07 |
| 17 | 896 × 1024 | 9649 | 10,291 | 6.55 |
| 18 | 896 × 1024 | 9792 | 10,018 | 6.31 |
| 19 | 896 × 512 | 13,013 | 13,182 | 5.84 |
| 20 | 896 × 512 | 13,111 | 13,419 | 6.64 |
| 21 | 896 × 512 | 12,985 | 13,103 | 6.25 |
| 22 | 896 × 512 | 12,945 | 13,214 | 6.53 |
| 23 | 896 × 512 | 12,912 | 13,069 | 6.7 |
| 24 | 896 × 2048 | 9495 | 10,485 | 9.34 |
| 25 | 896 × 2048 | 9396 | 9617 | 6.68 |
| 26 | 896 × 2048 | 9405 | 10,527 | 9.82 |
| 27 | 896 × 2048 | 9540 | 10,500 | 9.26 |
| 28 | 896 × 2048 | 9573 | 10,102 | 8.18 |
| 29 | 896 × 2048 | 9618 | 10,324 | 6.83 |
| 30 | 1984 × 2048 | 6637 | 8416 | 8.97 |
| 31 | 1984 × 2048 | 6968 | 9131 | 9.38 |
| 32 | 1984 × 2048 | 6860 | 10,532 | 9.17 |
| 33 | 1984 × 2048 | 6778 | 12,823 | 9.45 |
| 34 | 1984 × 2048 | 6802 | 10,232 | 9.63 |
| 35 | 1984 × 2048 | 6901 | 14,342 | 9.49 |
| 36 | 1984 × 2048 | 6869 | 9521 | 9.48 |
| 37 | 1984 × 2048 | 6883 | 9497 | 9.13 |
| 38 | 1984 × 2048 | 6864 | 10,270 | 9.31 |
| 39 | 1984 × 2048 | 6932 | 9282 | 9.34 |
| 40 | 1984 × 2048 | 6732 | 8265 | 9.05 |
| HEVC-Intra | H.264-Intra | JPEG2000 | PNG | JPEG-XT | Proposed | |
|---|---|---|---|---|---|---|
| CR | 4.24 | 4.07 | 3.81 | 3.32 | 3.08 | 4.19 |
| BPP | 3.82 | 4.05 | 4.24 | 4.88 | 5.29 | 3.86 |
| CS/(MB/s) | 0.46 | 0.88 | 9.69 | - | - | 9.85 |
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. |
© 2026 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.
Share and Cite
Liu, Y.; Li, Z.; Zhang, Y.; Zhang, R. Lossless Compression of Infrared Images via Pixel-Adaptive Prediction and Residual Hierarchical Decomposition. Appl. Sci. 2026, 16, 1030. https://doi.org/10.3390/app16021030
Liu Y, Li Z, Zhang Y, Zhang R. Lossless Compression of Infrared Images via Pixel-Adaptive Prediction and Residual Hierarchical Decomposition. Applied Sciences. 2026; 16(2):1030. https://doi.org/10.3390/app16021030
Chicago/Turabian StyleLiu, Ya, Zheng Li, Yong Zhang, and Rui Zhang. 2026. "Lossless Compression of Infrared Images via Pixel-Adaptive Prediction and Residual Hierarchical Decomposition" Applied Sciences 16, no. 2: 1030. https://doi.org/10.3390/app16021030
APA StyleLiu, Y., Li, Z., Zhang, Y., & Zhang, R. (2026). Lossless Compression of Infrared Images via Pixel-Adaptive Prediction and Residual Hierarchical Decomposition. Applied Sciences, 16(2), 1030. https://doi.org/10.3390/app16021030

