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.











Similar content being viewed by others
Notes
BOSSbase v1.01. http://dde.binghamton.edu/download/.
The theoretical values of UACI and NPCR in grayscale images are 0.3346 and 0.9960 [20]
References
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
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
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
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
Li N, Huang F (2020) Reversible data hiding for jpeg images based on pairwise nonzero ac coefficient expansion. Signal Process 171:107476
Li F, Wu K, Qin C, Lei J (2020) Anti-compression jpeg steganography over repetitive compression networks. Signal Process 170:107454
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
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
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
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
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
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
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
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
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
Ren H, Lu W, Chen B (2019) Reversible data hiding in encrypted binary images by pixel prediction. Signal Process 165:268–277
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
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
Wang K, Lu Z, Hu Y (2013) A high capacity lossless data hiding scheme for jpeg images. J Syst Softw 86(7):1965–1975
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
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
Yi S, Zhou Y (2017) Binary-block embedding for reversible data hiding in encrypted images. Signal Process 133:40–51
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
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
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
Zhang X (2012) Separable Reversible data hiding in encrypted image. IEEE Trans Inform Forens Secur 7(2):826–832
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
Zhang W, Ma K, Yu N (2014) Reversibility improved data hiding in encrypted images. Signal Process 94:118–127
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
Acknowledgements
This work was supported by the Natural Science Foundation of Shanghai (20ZR1421600).
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
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
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-022-12710-9