Git Product home page Git Product logo

swcnn's Introduction

This paper as well as A self-supervised CNN for image watermark removal is conducted by Chunwei Tian, Menghua Zheng, Tiancai Jiao, Wangmeng Zuo, Yanning Zhang, Chia-Wen Lin. This paper is accepted by the IEEE Transactions on Circuits and Systems for Video Technology (IF:8.4) and it is implemented by Pytorch.

Its abstract is shown as follows.

Popular convolutional neural networks mainly use paired images in a supervised way for image watermark removal. However, watermarked images do not have reference images in the real world, which results in poor robustness of image watermark removal techniques. In this paper, we propose a self-supervised convolutional neural network (CNN) in image watermark removal (SWCNN). SWCNN uses a self-supervised way to construct reference watermarked images rather than given paired training samples, according to watermark distribution. A heterogeneous U-Net architecture is used to extract more complementary structural information via simple components for image watermark removal. Taking into account texture information, a mixed loss is exploited to improve visual effects of image watermark removal. Besides, a watermark dataset is conducted. Experimental results show that the proposed SWCNN is superior to popular CNNs in image watermark removal.

Requirements (Pytorch)

  • pytorch==1.11.0
  • tensorboard==2.9.1
  • scikit-image==0.19.3
  • pyyaml==5.1
  • h5py==3.7.0
  • opencv-python==4.6.0
  • matplotlib==3.5.2

DataSet

Training datasets

The training dataset of the PASCAL VOC 2021 can be obtained at https://pjreddie.com/projects/pascal-voc-dataset-mirror/

Training datasets

The training dataset of the PASCAL VOC 2012 can be obtained at 链接:https://pan.baidu.com/s/1At7c2egxalV1T8HpBGGQdw (56r7) or https://drive.google.com/drive/folders/1Byi-wwGwks69fItGesEHDBdgUr1xGFc5?usp=drive_link (Google drive).

Command

Download model file at 链接:链接:https://pan.baidu.com/s/1UbnK2F1FuIMKvqESNk5SvA (passwd: jlbv) and put data/ into SWCNN/ or https://drive.google.com/drive/folders/1Byi-wwGwks69fItGesEHDBdgUr1xGFc5?usp=drive_link (Google drive).

Test

python test.py --alpha 0.3 --loss L1 --self_supervised True --PN True --display False

Train

python train.py --net HN --loss L1 --self_supervised True --PN True --alpha 0.3

1. Network architecture of SWCNN.

image-20240304100316953

2. Removing watermark performance of different methods for transparency of 0.3.

image-20240304100351018

3. PSNR(dB) of different methods for different transparency.

image-20240304100545625

4. NIQE and ILNIQE of different methods for transparency of 0.3.

image-20240304101626408

5. Visual images of different methods

image-20240304101834486

6. Visual images of different methods.

image-20240304101912376

7. Visual images of different methods.

image-20240304101952730

8. Visual images of different methods.

image-20240304102041706

9. Visual images of different methods.

image-20240304102055963

You can cite this paper by the following ways.

1. Chunwei Tian, Menghua Zheng, Tiancai Jiao, Wangmeng Zuo, Yanning Zhang, Chia-Wen Lin. A self-supervised CNN for image watermark removal[J]. IEEE Transactions on Circuits and Systems for Video Technology, 2024.

2.@article{tian2024A,

   title={A self-supervised CNN for image watermark removal},
   author={Tian, Chunwei and Zheng, Menghua and Jiao, Tiancai and Zuo, Wangmeng and Zhang, Yanning and Lin, Chia-Wen},
   journal={IEEE Transactions on Circuits and Systems for Video Technology},
  year={2024},
 publisher={IEEE}

}

swcnn's People

Contributors

hellloxiaotian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.