Computer Science ›› 2024, Vol. 51 ›› Issue (2): 172-181.doi: 10.11896/jsjkx.230600144

• Computer Graphics & Multimedia • Previous Articles     Next Articles

Two-stage Visible Watermark Removal Model Based on Global and Local Features for Document Images

ZHAO Jiangfeng1, HE Hongjie1, CHEN Fan2, YANG Shubin1   

  1. 1 School of Information Science and Technology,Southwest Jiaotong University,Chengdu 611756,China
    2 School of Computing and Artificial Intelligence,Southwest Jiaotong University,Chengdu 611756,China
  • Received:2023-06-18 Revised:2023-11-16 Online:2024-02-15 Published:2024-02-22
  • About author:ZHAO Jiangfeng,born in 1998,master.His main research interests include deep learning and image processing.HE Hongjie,born in 1971,Ph.D,professor,Ph.D supervisor.Her main research interests include image processing and information security.
  • Supported by:
    National Natural Science Foundation of China(61872303,U1936113).

Abstract: Visible watermark is a common digital image copyright protection measure.Analysis of the removal results of watermarks can verify the effectiveness of the watermarks on images and provide reference and inspiration for watermark designers to design or add them.Currently,most watermark removal methods are based on research on natural images,while document images are also widely used in daily life.However,due to the lack of publicly available datasets for removing watermarks from document images,research on removing watermarks from such images is relatively limited.To explore the effectiveness of watermark removal methods on document images,a dataset for removing watermarks from single document images,the single document image watermark removal dataset(SDIWRD),is constructed.In the research on the removal of watermarks in document images,it is found that the removal results of existing watermark removal methods often leave watermark artifacts,such as main body artifacts or outline artifacts.To address this problem,a two-stage watermark removal model based on global and local features is proposed,which uses a two-stage half-instance normalized encoder-decoder architecture from coarse to fine.In the coarse stage,a global and local feature extraction module is designed to enhance the capture of global spatial features while preserving the extraction of local detail information,thus helping with watermark removal.In the fine stage,the fine network shares the weights of the coarse stage and constructs a recurrent feature fusion module to fully explore the important features of the coarse stage encoder and provide rich context information for the fine stage,helping with detailed watermark removal.In addition,a structure similarity loss is used to improve the visual quality of the removed watermark.The proposed method is tested on the SDIWRD dataset,and the results show that the peak signal-to-noise ratio(PSNR) is 41.21 dB,the structural similarity(SSIM) is 99.07%,and the root mean square error(RMSE) is 3.64,which are better than existing methods.In addition,the proposed method is also tested on the publicly available CLWD color watermark removal dataset,and the results showethat the PSNR is 39.31 dB,the SSIM is 98.81%,and the RMSE is 3.50,which are also better than existing watermark removal methods.These experimental results demonstrate that the proposed method has good generalization and can effectively alleviate the problem of watermark artifacts.Finally,some suggestions for preventing watermark removal are also proposed.The proposed method and dataset can be publicly accessed at the corresponding website.

Key words: Visible watermark, Watermark removal, Global and local feature extraction, Recurrent feature fusion, Document image

CLC Number: 

  • TP391
[1]HUANG C H,WU J L.Attacking visible watermarkingschemes [J].IEEE Transactions on Multimedia,2004,6(1):16-30.
[2]JAESIK P,TAI Y W,KWEON I S.Identigram/Watermark removal using cross-channel correlation[C]//2012 IEEE Confe-rence on Computer Vision & Pattern Recognition.IEEE,2012:446-453.
[3]PEI S C,ZENG Y C.A novel image recovery algorithm for visible watermarked images[J].IEEE Transactions on Information Forensics & Security,2006,1(4):543-550.
[4]DEKEL T,RUBINSTEIN M,LIU C,et al.On the effectiveness of visible watermarks[C]//Proceedings of the IEEE Conference on Computer Vision & Pattern Recognition.2017:2146-2154.
[5]SHARMA M,VERMA A,VIG L.Learning to clean:A GANperspective[C]//Computer Vision-ACCV 2018 Workshops:14th Asian Conference on Computer Vision.Perth,Australia:Springer International Publishing,2019:174-185.
[6]CAO Z,NIU S,ZHANG J,et al.Generative adversarial net-works model for visible watermark removal[J].IET Image Processing,2019,13(10):1783-1789.
[7]LI X,LU C,CHENG D,et al.Towards photo-realistic visiblewatermark removal with conditional generative adversarial networks[C]//Image & Graphics:10th International Conference.Beijing,China:Springer International Publishing,2019:345-356.
[8]WANG J L,LIU X Q,LI B Y,et al.A Scheme of Visible Watermark Removal Method Based on Conditional Generative Adversarial Nets[J].Computer Technology and Development,2022,32(2):119-124.
[9]CHENG D,LI X,LI W H,et al.Large-scale visible watermark detection and removal with deep convolutional networks[C]//Pattern Recognition & Computer Vision:First Chinese Confe-rence.Guangzhou,China:Springer International Publishing,2018:27-40.
[10]HERTZ A,FOGEL S,HANOCKA R,et al.Blind visual motifremoval from a single image[C]//Proceedings of the IEEE/CVF Conference on Computer Vision & Pattern Recognition.2019:6858-6867.
[11]CUN X,PUN C M.Split then refine:stacked attention-guidedResUNets for blind single image visible watermark removal[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2021,35(2):1184-1192.
[12]LIU Y,ZHU Z,BAI X.Wdnet:Watermark-decomposition net-work for visible watermark removal[C]//Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision.2021:3685-3693.
[13]LIANG J,NIU L,GUO F,et al.Visible watermark removal via self-calibrated localization and background refinement[C]//Proceedings of the 29th ACM International Conference on Multimedia.2021:4426-4434.
[14]RONNEBERGER O,FISCHER P,BROX T.U-net:Convolu-tional networks for biomedical image segmentation[C]//18th International Conference Medical Image Computing & Compu-ter-Assisted Intervention(MICCAI 2015).Munich,Germany:Springer International Publishing,2015:234-241.
[15]ZHANG M M,ZHOU Q,HU Y L.Visible watermark removal scheme based on multiple matching[J].Computer Engineering and Design,2020,41(1):176-182.
[16]ZHU J Y,PARK T,ISOLA P,et al.Unpaired image-to-image translation using cycle-consistent adversarial networks[C]//Proceedings of the IEEE International Conference on Computer Vision.2017:2223-2232.
[17]YU F,KOLTUN V.Multi-scale context aggregation by dilated convolutions[EB/OL].(2015-11-23) [2023-06-11].https://arxiv.org/abs/1511.07122.
[18]DOSOVITSKIY A,BEYER L,KOLESNIKOV A,et al.Animage is worth 16x16 words:Transformers for image recognition at scale[EB/OL].(2020-10-22)[2023-06-11].https://arxiv.org/abs/2010.11929.
[19]LIU Z,LIN Y,CAO Y,et al.Swin transformer:Hierarchical vision transformer using shifted windows[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision.2021:10012-10022.
[20]ZAMIR S W,ARORA A,KHAN S,et al.Multi-stage progressive image restoration[C]//Proceedings of the IEEE/CVF Conference on Computer Vision & Pattern Recognition.2021:14821-14831.
[21]FAN X N,ZHAO Z X,YAN W,et al.Multi-scale Feature Fusion Image Dehazing Algorithm Combined with Attention Mecha-nism[J].Computer Science,2022,49(5):50-57.
[22]CHEN L,LU X,ZHANG J,et al.Hinet:Half instance normalization network for image restoration[C]//Proceedings of the IEEE/CVF Conference on Computer Vision & Pattern Recognition.2021:182-192.
[23]WOO S,PARK J,LEE J Y,et al.Cbam:Convolutional block attention module[C]//Proceedings of the European Conference on Computer Vision(ECCV).2018:3-19.
[24]MA Y,YU D,WU T,et al.PaddlePaddle:An open-source deep learning platform from industrial practice[J].Frontiers of Data &Computing,2019,1(1):105-115.
[25]KINGMA D P,BA J.Adam:A method for stochastic optimization[EB/OL].(2014-12-22) [2023-06-11].https://arxiv.org/abs/1412.6980.
[1] HE Huang-xing, CHEN Ai-guo, WANG Jiao-long. Handwritten Image Binarization Based on Background Estimation and Local Adaptive Integration [J]. Computer Science, 2022, 49(11): 163-169.
[2] KOU Xi-chao, ZHANG Hong-rui, FENG Jie, ZHENG Ya-yu. Distortion Correction Algorithm for Complex Document Image Based on Multi-level TextDetection [J]. Computer Science, 2021, 48(12): 249-255.
[3] LIU Xiao-yuan, YI Yang, YANG Lei and WANG Bin. Research of Document Image Super Resolution Algorithm Based on Directional Bilateral Total Variation Regularization [J]. Computer Science, 2017, 44(11): 301-304.
[4] YU Ping,YANG You,SHANG Jin. Research on the Set Redundancy Compression of Document Image Based on Template Difference [J]. Computer Science, 2011, 38(7): 294-297.
[5] YANG You (School of Mathematics and Computer Science, Chongqing Normal University, Chongqing 400047, China). [J]. Computer Science, 2008, 35(6): 265-267.
[6] . [J]. Computer Science, 2007, 34(8): 240-241.
[7] . [J]. Computer Science, 2007, 34(5): 237-239.
[8] . [J]. Computer Science, 2007, 34(3): 227-229.
[9] . [J]. Computer Science, 2007, 34(1): 195-197.
[10] . [J]. Computer Science, 2006, 33(8): 229-231.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!