Rain-free and Residue Hand-in-Hand: A Progressive Coupled Network for Real-Time Image Deraining (TIP 2021)
Kui Jiang, Zhongyuan Wang, Peng Yi, Chen Chen, Zheng Wang, Xiao Wang, Junjun Jiang, and Chia-Wen Lin
Paper: Rain-free and Residue Hand-in-Hand: A Progressive Coupled Network for Real-Time Image Deraining
Abstract: Rainy weather is a challenge for many vision-oriented tasks (e.g., object detection and segmentation), which causes performance degradation. Image deraining is an effective solution to avoid performance drop of downstream vision tasks. However, most existing deraining methods either fail to produce satisfactory restoration results or cost too much computation. In this work, considering both effectiveness and efficiency of image deraining, we propose a progressive coupled network (PCNet) to well separate rain streaks while preserving rain-free details. To this end, we investigate the blending correlations between them and particularly devise a novel coupled representation module (CRM) to learn the joint features and the blending correlations. By cascading multiple CRMs, PCNet extracts the hierarchical features of multi-scale rain streaks, and separates the rain-free content and rain streaks progressively. To promote computation efficiency, we employ depth-wise separable convolutions and a U-shaped structure, and construct CRM in an asymmetric architecture to reduce model parameters and memory footprint. Extensive experiments are conducted to evaluate the efficacy of the proposed PCNet in two aspects: (1) image deraining on several synthetic and real-world rain datasets and (2) joint image deraining and downstream vision tasks (\textit{e.g.}, object detection and segmentation). Furthermore, we show that the proposed CRM can be easily adopted to similar image restoration tasks including image dehazing and low-light enhancement with competitive performance. The source code is available at https://github.com/kuijiang0802/PCNet.
The model is built in PyTorch 1.1.0 and tested on Ubuntu 16.04 environment (Python3.7, CUDA9.0, cuDNN7.5).
For installing, follow these intructions
conda create -n pytorch1 python=3.7
conda activate pytorch1
conda install pytorch=1.1 torchvision=0.3 cudatoolkit=9.0 -c pytorch
pip install matplotlib scikit-image opencv-python yacs joblib natsort h5py tqdm
To test the pre-trained deraining model on your own images, run
python test.py
Training and Testing codes for deraining are provided in their respective directories.
Experiments are performed for different image processing tasks including, image deraining, image dehazing and low-light image enhancement.
Code borrows from MPRNet by Syed Waqas Zamir. Thanks for sharing !
If you use PCNet, please consider citing:
@article{jiangpcnet,
title={Rain-free and Residue Hand-in-Hand: A Progressive Coupled Network for Real-Time Image Deraining},
author={Kui Jiang and Zhongyuan Wang and Peng Yi and Chen Chen and Zheng Wang and Xiao Wang and Junjun Jiang and Chia-Wen Lin},
journal={IEEE Trans. Image Process.},
year={2021}
doi={10.1109/TIP.2021.3102504}
}
Should you have any question, please contact Kui Jiang (kuijiang@whu.edu.cn)