Skip to content

A self-supervised CNN for image watermark removal (IEEE Transactions on Circuits and Systems for Video 2024)

Notifications You must be signed in to change notification settings

hellloxiaotian/SWCNN

Repository files navigation

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}

}

About

A self-supervised CNN for image watermark removal (IEEE Transactions on Circuits and Systems for Video 2024)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages