Skip to main content
Log in

A robust document image watermarking scheme using deep neural network

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

Abstract

Watermarking is an important copyright protection technology which generally embeds the identity information into the carrier imperceptibly. Then the identity can be extracted to prove the copyright from the watermarked carrier even after suffering various attacks. Most of the existing watermarking technologies take the nature images as carriers. Different from the natural images, document images are not so rich in color and texture, and thus have less redundant information to carry watermarks. This paper proposes an end-to-end document image watermarking scheme using the deep neural network. Specifically, an encoder and a decoder are designed to embed and extract the watermark. A noise layer is added to simulate the various attacks that could be encountered in reality, such as the Cropout, Dropout, Gaussian blur, Gaussian noise, Resize, and JPEG Compression. A text-sensitive loss function is designed to limit the embedding modification on characters. An embedding strength adjustment strategy is proposed to improve the quality of watermarked image with little loss of extraction accuracy. Experimental results show that the proposed document image watermarking technology outperforms three state-of-the-art methods in terms of the robustness and image quality.

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

Access this article

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
Fig. 12

Similar content being viewed by others

Data Availability

Some or all data, models, or code generated or used during the study are available in the submitted article.

References

  1. Ahmadi M, Norouzi A, Karimi N, Samavi S, Emami A (2020) Redmark: framework for residual diffusion watermarking based on deep networks. Expert Syst Appl 146:113157

    Article  Google Scholar 

  2. Al-Haj A, Barouqa H (2017) Copyright protection of e-government document images using digital watermarking. In: 2017 3rd international conference on information management (ICIM). IEEE, pp 441–446

  3. Amano T, Misaki D (1999) A feature calibration method for watermarking of document images. In: Proceedings of the fifth international conference on document analysis and recognition. ICDAR’99 (Cat. No. PR00318). IEEE, pp 91–94

  4. Barouqa H, Al-Haj A (2021) Watermarking e-government document images using the discrete wavelets transform and schur decomposition. In: 2021 7th international conference on information management (ICIM). IEEE, pp 102–106

  5. Brassil J, Low S, Maxemchuk N, O’Gorman L (1994) Electronic marking and identification techniques to discourage document copying. In: Proceedings of INFOCOM’94 conference on computer communications. IEEE, pp 1278–1287

  6. Brassil J, Low S, Maxemchuk N (1999) Copyright protection for the electronic distribution of text documents. Proc IEEE 87(7):1181–1196

    Article  Google Scholar 

  7. China national knowledge infrastructure (2021) [Online]. Accessed: April 4. Available: https://www.cnki.net/

  8. Chetan KR, Nirmala S (2015) An efficient and secure robust watermarking scheme for document images using integer wavelets and block coding of binary watermarks. J Inf Secur Appl 24:13–24

    Google Scholar 

  9. Cox I, Miller M, Bloom J, Fridrich J, Kalker T (2007) Digital watermarking and steganography. Morgan kaufmann, San Mateo

    Google Scholar 

  10. Dang QB, Louisa K, Coustaty M, Luqman MM, Ogier J-M (2019) A blind document image watermarking approach based on discrete wavelet transform and qr code embedding. In: 2019 International conference on document analysis and recognition workshops (ICDARW), vol 8. IEEE, pp 1–6

  11. Fang H, Zhang W, Ma Z, Zhou H, Sun S, Cui H, Nenghai Y (2019) A camera shooting resilient watermarking scheme for underpainting documents. IEEE Trans Circuits Syst Video Technol 30(11):4075–4089

    Article  Google Scholar 

  12. Guan Z, Jing J, Deng X, Xu M, Jiang L, Zhang Z, Li Y (2022) Deepmih: deep invertible network for multiple image hiding. IEEE Trans Pattern Anal Mach Intell

  13. Huang D, Yan H (2001) Interword distance changes represented by sine waves for watermarking text images. IEEE Trans Circuits Syst Video Technol 11 (12):1237–1245

    Article  Google Scholar 

  14. Ieee/iet electronic library (2021) [Online]. Accessed: April 4. Available: https://ieeexplore.ieee.org/Xplore/home.jsp

  15. Jing J, Deng X, Xu M, Wang J, Guan Z (2021) Hinet: deep image hiding by invertible network. In: Proceedings of the IEEE/cvf international conference on computer vision, pp 4733–4742

  16. Kamaruddin NS, Kamsin A, Por LY, Rahman H (2018) A review of text watermarking: theory, methods, and applications. IEEE Access 6:8011–8028

    Article  Google Scholar 

  17. Kim Y-W, Oh I-S (2004) Watermarking text document images using edge direction histograms. Pattern Recogn Lett 25(11):1243–1251

    Article  Google Scholar 

  18. Kim Y-W, Moon K-A, Oh I-S (2003) A text watermarking algorithm based on word classification and inter-word space statistics. In: ICDAR. Citeseer, pp 775–779

  19. Kingma DP, Ba J (2014) Adam: A method for stochastic optimization. arXiv:1412.6980

  20. Krizhevsky A, Sutskever I, Hinton GE (2012) Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems 25:1097–1105

    Google Scholar 

  21. Liu Y, Guo M, Zhang J, Zhu Y, Xie X (2019) A novel two-stage separable deep learning framework for practical blind watermarking. In: Proceedings of the 27th ACM international conference on multimedia, pp 1509–1517

  22. Loc CV, Burie J-C, Ogier J-M (2018) Document images watermarking for security issue using fully convolutional networks. In: 2018 24th International conference on pattern recognition (ICPR). IEEE, pp 1091–1096

  23. Lu H, Shi X, Shi YQ, Kot AC, Chen L (2002) Watermark embedding in dc components of dct for binary images. In: 2002 IEEE workshop on multimedia signal processing. IEEE, pp 300–303

  24. Luo X, Talebi H, Yang F, Elad M, Milanfar P (2021) The rate-distortion-accuracy tradeoff: jpeg case study. In: 2021 Data compression conference (DCC), pp 354–354

  25. Luo X, Zhan R, Chang H, Yang F, Milanfar P (2020) Distortion agnostic deep watermarking. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp 13548–13557

  26. Mun Seung-Min, Nam Seung-Hun, Jang H, Kim D, Lee Heung-Kyu (2019) Finding robust domain from attacks: a learning framework for blind watermarking. Neurocomputing 337:191–202

    Article  Google Scholar 

  27. Rosiyadi D, Horng S-J, Fan P, Wang X, Khan MK, Pan Y (2011) Copyright protection for e-government document images. IEEE Multimed 19(3):62–73

    Article  Google Scholar 

  28. Shin R, Song D (2017) Jpeg-resistant adversarial images. In: NIPS 2017 workshop on machine learning and computer security, vol 1

  29. Tan L, Sun X, Sun G (2012) Print-scan resilient text image watermarking based on stroke direction modulation for chinese document authentication. Radioengineering 21(1)

  30. Tancik M, Mildenhall B, Ng R (2020) Stegastamp: invisible hyperlinks in physical photographs. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pp 2117–2126

  31. Wang Z, Bovik AC, Sheikh HR, Simoncelli EP (2004) Image quality assessment: from error visibility to structural similarity. IEEE Trans Image Process 13(4):600–612

    Article  Google Scholar 

  32. Zhang R, Isola P, A Efros A, Shechtman E, Wang O (2018) The unreasonable effectiveness of deep features as a perceptual metric. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 586–595

  33. Zhao H, Gallo O, Frosio I, Kautz J (2016) Loss functions for image restoration with neural networks. IEEE Transactions on computational imaging 3 (1):47–57

    Article  Google Scholar 

  34. Zhong X, Huang Pei-Chi, Mastorakis S, Shih F (2021) An automated and robust image watermarking scheme based on deep neural networks. IEEE Trans Multimed 23:1951–1961

    Article  Google Scholar 

  35. Zhu J, Kaplan R, Johnson J, Fei-Fei L (2018) Hidden: hiding data with deep networks. In: Proceedings of the European conference on computer vision (ECCV), pp 657–672

Download references

Acknowledgements

This work is supported in part by the National Key Research and Development Plan of China under Grant number 2022YFB3103100, 2020YFB1005600, in part by Guangdong Basic and Applied Basic Research Foundation under Grant number 2019B1515120010, in part by the National Natural Science Foundation of China under grant numbers 62122032, 62172233, 62102189, U1936118, 61932011, 61931004, 61825203, U1736203, and 61732021, in part by the Major Program of Guangdong Basic and Applied Research Project under Grant 2019B030302008, in part by Six Peak Talent project of Jiangsu Province (R2016L13), Qinglan Project of Jiangsu Province, and “333” project of Jiangsu Province, in part by the National Joint Engineering Research Center for Network Security Detection and Protection Technology, in part by the Priority Academic Program Development of Jiangsu Higher Education Institutions (PAPD) fund, in part by the Collaborative Innovation Center of Atmospheric Environment and Equipment Technology (CICAEET) fund, China. Zhihua Xia is supported by BK21+ program from the Ministry of Education of Korea.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhihua Xia.

Ethics declarations

Conflict of Interests

There are no potential conflicts of interest in this work, and no human participants or animals are involved.

Additional information

Publisher’s note

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

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ge, S., Xia, Z., Fei, J. et al. A robust document image watermarking scheme using deep neural network. Multimed Tools Appl 82, 38589–38612 (2023). https://doi.org/10.1007/s11042-023-15048-y

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-023-15048-y

Keywords

Navigation