Skip to main content

Advertisement

Log in

Efficient reversible data hiding in encrypted binary image with Huffman encoding and weight prediction

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

This paper proposes an efficient reversible data hiding (RDH) scheme in encrypted binary image by combining Huffman encoding and weighted prediction. Since the pixel redundant space in binary image is very small, existing RDH schemes for encrypted binary image is very difficult to get a balance between large embedding capacity and high visual quality of recovered binary image. To provide an efficient solution, we first divide the original binary image into three different types of non-overlapping blocks, black blocks, white blocks and mixed blocks. Subsequently, the Huffman encoding mechanism is introduced to achieve a large embedding capacity in all blocks. Due to the correct decodability of Huffman coding, both black blocks and white blocks can be recovered lossless after extracting secret data. Furthermore, a weight prediction mechanism is designed to make an accurate prediction for the mixed blocks, which can be sequentially recovered by involving a large area of pixel correlation. Our method can efficiently achieve a large embedding capacity for additional data, while keeping a high visual quality for recovered image. Extensive experiments demonstrate that our method outperforms existing encrypted binary RDH schemes with higher visual quality and larger embedding capacity.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

Notes

  1. BOSSbase v1.01. http://dde.binghamton.edu/download/.

  2. The theoretical values of UACI and NPCR in grayscale images are 0.3346 and 0.9960 [20]

References

  1. Chen K, Chang CC (2019) Error-free separable reversible data hiding in encrypted images using linear regression and prediction error map. Multimed Tools Appl 78(22):31441–31465

    Article  Google Scholar 

  2. Di F, Zhang M, Huang F, Liu J, Kong Y (2019) Reversible data hiding in jpeg images based on zero coefficients and distortion cost function. Multimed Tools Appl 78(24):34541–34561

    Article  Google Scholar 

  3. Hong W, Chen TS, Wu HY (2012) An improved reversible data hiding in encrypted images using side match. IEEE Signal Processing Letters 19 (4):199–202

    Article  Google Scholar 

  4. Hou D, Wang H, Zhang W, Yu N (2018) Reversible data hiding in jpeg image based on dct frequency and block selection. Signal Process 148:41–47

    Article  Google Scholar 

  5. Li N, Huang F (2020) Reversible data hiding for jpeg images based on pairwise nonzero ac coefficient expansion. Signal Process 171:107476

    Article  Google Scholar 

  6. Li F, Wu K, Qin C, Lei J (2020) Anti-compression jpeg steganography over repetitive compression networks. Signal Process 170:107454

    Article  Google Scholar 

  7. Li F, Wu K, Zhang X, Yu J, Lei J, Wen M (2018) Robust batch steganography in social networks with non-uniform payload and data decomposition. IEEE Access 6:29912–29925

    Article  Google Scholar 

  8. Li Y, Yao S, Yang K, Tan Y, Zhang Q (2019) A high-imperceptibility and histogram-shifting data hiding scheme for jpeg images. IEEE Access 7:73573–73582

    Article  Google Scholar 

  9. Li F, Zhang L, Wei W (2020) Reversible data hiding in encrypted binary image with shared pixel prediction and halving compression. EURASIP Journal on Image and Video Processing 2020(1):1–21

    Article  MathSciNet  Google Scholar 

  10. Long M, Zhao Y, Zhang X, Peng F (2020) A separable reversible data hiding scheme for encrypted images based on tromino scrambling and adaptive pixel value ordering. Signal Process, 107703

  11. Ma Z, Li F, Zhang X (2013) Data hiding in halftone images based on hamming code and slave pixels. Journal of Shanghai University 19(2):111–115

    Google Scholar 

  12. Ma K, Zhang W, Zhao X et al (2013) Reversible data hiding in encrypted images by reserving room before encryption. IEEE Trans Inform Forens Secur 8(3):553–562

    Article  Google Scholar 

  13. Puteaux P, Puech W (2018) An efficient msb prediction-based method for high-capacity reversible data hiding in encrypted images. IEEE Trans Inform Forens Secur 13(7):1670–1681

    Article  Google Scholar 

  14. Qian Z, Zhang X, Feng G (2016) Reversible data hiding in encrypted images based on progressive recovery. IEEE Signal Process Lett 23(11):1672–1676

    Article  Google Scholar 

  15. Qin C, Zhang X (2015) Effective reversible data hiding in encrypted image with privacy protection for image content. J Vis Commun Image Represent 31:154–164

    Article  Google Scholar 

  16. Ren H, Lu W, Chen B (2019) Reversible data hiding in encrypted binary images by pixel prediction. Signal Process 165:268–277

    Article  Google Scholar 

  17. Shi YQ, Li X, Zhang X, Wu HT, Ma B (2016) Reversible data hiding: Advances in the past two decades. IEEE Access 4:3210–3237

    Article  Google Scholar 

  18. Wang CC, Chang YF, Chang CC, Jan JK, Lin CC (2014) A high capacity data hiding scheme for binary images based on block patterns. J Syst Softw 93:152–162

    Article  Google Scholar 

  19. Wang K, Lu Z, Hu Y (2013) A high capacity lossless data hiding scheme for jpeg images. J Syst Softw 86(7):1965–1975

    Article  Google Scholar 

  20. Wu H, Li F, Qin C, Wei W (2019) Separable reversible data hiding in encrypted images based on scalable blocks. Multimed Tools Appl 78 (18):25349–25372

    Article  Google Scholar 

  21. Wu Y, Xiang Y, Guo Y, Tang J, Yin Z (2019) An improved reversible data hiding in encrypted images using parametric binary tree labeling. IEEE Trans Multimed 22(8):1929–1938

    Article  Google Scholar 

  22. Yi S, Zhou Y (2017) Binary-block embedding for reversible data hiding in encrypted images. Signal Process 133:40–51

    Article  Google Scholar 

  23. Yin X, Lu W, Liu W et al (2018) Reversible data hiding in binary images by symmetrical flipping degree histogram modification. In: International conference on security with intelligent computing and big-data services. Springer, Cham, pp 891–903

  24. Yin Z, Peng Y, Xiang Y (2020) Reversible data hiding in encrypted images based on pixel prediction and bit-plane compression. IEEE Transactions on Dependable and Secure Computing Early Access, 2020. https://doi.org/10.1109/TDSC.2020.3019490

  25. Yin Z, Xiang Y, Zhang X (2019) Reversible data hiding in encrypted images based on multi-MSB prediction and Huffman coding. IEEE Trans Multimed 22(4):874–884

    Article  Google Scholar 

  26. Zhang X (2012) Separable Reversible data hiding in encrypted image. IEEE Trans Inform Forens Secur 7(2):826–832

    Article  Google Scholar 

  27. Zhang F, Lu W, Liu H, Yeung Y, Xue Y (2019) Reversible data hiding in binary images based on image magnification. Multimed Tools Appl 78 (15):21891–21915

    Article  Google Scholar 

  28. Zhang W, Ma K, Yu N (2014) Reversibility improved data hiding in encrypted images. Signal Process 94:118–127

    Article  Google Scholar 

  29. Zhang X, Qian Z, Feng G, Ren Y (2014) Efficient reversible data hiding in encrypted images. J Vis Commun Image Represent 25(2):322–328

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported by the Natural Science Foundation of Shanghai (20ZR1421600).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fengyong Li.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhang, L., Li, F. & Qin, C. Efficient reversible data hiding in encrypted binary image with Huffman encoding and weight prediction. Multimed Tools Appl 81, 29347–29365 (2022). https://doi.org/10.1007/s11042-022-12710-9

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-022-12710-9

Keywords