journal article·2025-09-22Open access

A JPEG Reversible Data Hiding Algorithm Based on Block Smoothness Estimation and Optimal Zero Coefficient Selection

Ya Yue, Minqing Zhang, Peizheng Lai, Fuqiang Di

Applied Sciences· Volume 15· Issue 18

Abstract

To address the issues of image quality degradation and file size expansion encountered during reversible data hiding (RDH) of JPEG images, a JPEG reversible data hiding algorithm based on block smoothness estimation and optimal zero coefficient selection is proposed. Firstly, a block smoothness estimation strategy is designed based on the number of zero coefficients and non-zero quantisation table values within DCT blocks, prioritising DCT blocks with higher smoothness for information embedding. Subsequently, under a given embedding payload, an optimal zero coefficient selection strategy is introduced. Blocks are partitioned into embedding regions and non-embedding regions based on a preset position threshold T. Within embedding regions, the frequency of zero coefficients at different positions across all blocks is statistically analysed, with embedding prioritised at positions exhibiting the highest zero coefficient frequency to enhance embedding efficiency. Concurrently, by setting positive and negative displacement gaps to constrain the modification range of non-zero coefficients, invalid shifts are minimised. This further enhances visual quality while controlling file expansion. Experimental results demonstrate that, compared to existing algorithms, the proposed method achieves a peak signal-to-noise ratio improvement of 0.75 to 3.62 dB under fixed embedding capacity. File expansion is reduced by 1038 to 2243 bits, whilst enabling fully reversible image restoration.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Steganography and Watermarking Techniques · Digital Media Forensic Detection · Chaos-based Image/Signal Encryption

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Key Laboratory of Network and Information Security of People’s Armed Police, Xi’an 710086, China

Funding

National Natural Science Foundation of China · National Social Science Funds 367 of China · National Defense Science and Technology Independent Research Project

References (31)

Show source-provided references
1. Lossless data embedding with file size preservation10.1117/12.525418 ↗
2. A high capacity lossless data hiding scheme for JPEG images10.1016/j.jss.2013.03.083 ↗
3. Lossless data embedding for all image formats10.1117/12.465317 ↗
4. Reversible hiding in DCT-based compressed images10.1016/j.ins.2007.02.019 ↗
5. Data Embedding in JPEG Bitstream by Code Mapping10.1109/TIP.2009.2035227 ↗
6. Lossless data hiding in JPEG bitstream10.1016/j.jss.2011.08.015 ↗
7. An improved VLC-based lossless data hiding scheme for JPEG images10.1016/j.jss.2013.03.102 ↗
8. Lossless data hiding in JPEG bitstream using alternative embedding10.1016/j.jvcir.2018.02.005 ↗
9. Wu, Y., and Deng, R.H. (2011, January 6–9). Zero-error watermarking on jpeg images by shuffling Huffman tree nodes. Proceedings of the 2011 Visual Communications and Image Processing (VCIP), Tainan, Taiwan.10.1109/VCIP.2011.6115939 ↗
10. Reversible data hiding in JPEG images based on improved frequency selection and mapping strategy10.1016/j.dsp.2024.104754 ↗
11. High capacity lossless data hiding in JPEG bitstream based on general VLC mapping
12. Reversible data hiding in JPEG images10.1109/TCSVT.2015.2473235 ↗
13. Reversible data hiding in JPEG image based on DCT frequency and block selection10.1016/j.sigpro.2018.02.002 ↗
14. Improved reversible data hiding in JPEG images based on new coefficient selection strategy10.1186/s13640-017-0206-1 ↗
15. Reversible data hiding in JPEG images based on negative influence models10.1109/TIFS.2019.2958758 ↗
16. Improved block ordering and frequency selection for reversible data hiding in JPEG images10.1016/j.sigpro.2020.107647 ↗
17. Reversible data hiding in JPEG images with multi-objective optimization10.1109/TCSVT.2020.2969463 ↗
18. Efficient reversible data hiding for JPEG images with multiple histograms modification10.1109/TCSVT.2020.3027391 ↗
19. Reversible data hiding for JPEG images based on multiple two-dimensional histograms10.1109/LSP.2021.3101424 ↗
20. Reversible data hiding in JPEG images based on coefficient-first selection10.1016/j.sigpro.2022.108639 ↗
21. Reversible data hiding for JPEG images based on pairwise nonzero AC coefficient expansion10.1016/j.sigpro.2020.107476 ↗
22. Pairwise prediction-error expansion for efficient reversible data hiding10.1109/TIP.2013.2281422 ↗
23. Reversible data hiding for JPEG images with minimum additive distortion10.1016/j.ins.2022.02.040 ↗
24. JPEG reversible data hiding using dynamic distortion optimizing with frequency priority reassignment10.1109/TCSVT.2022.3192553 ↗
25. Progressive histogram modification for JPEG reversible data hiding10.1109/TCSVT.2023.3288038 ↗
26. Reversible data hiding in JPEG images based on zero coefficients and distortion cost function10.1007/s11042-019-08109-8 ↗
27. Reversible data hiding in JPEG document images based on zero coefficients embedding10.1016/j.sigpro.2022.108917 ↗
28. Huynh, V.T., Vo, P.H., and Nguyen, T.S. (2024, January 13–15). A Novel Reversible Data Hiding for JPEG Images Based on Zero AC Coefficients Shifting. Proceedings of the International Symposium on Information and Communication Technology, Danang, Vietnam.10.1007/978-981-96-4285-4_29 ↗
29. (2024, July 15). Image Database of BOSSbase 1.01. Available online: http://dde.binghamton.edu/download/.
30. Anon (2012, September 12). The USC-SIPI Image Database [EB/OL]. Available online: https://www.doc88.com/p-694588069958.html.
31. Website of the independent JPEG group