Skip to content

Single Image Deraining with Coutinuous Density Estimation

Notifications You must be signed in to change notification settings

Achhhe/CODE-Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

This repository is for CODE-Net:trumpet::trumpet::trumpet:

Single Image Deraining with Continuous Rain Density Estimation 😄

haha
Figure 1. Deraining results on real images with light, medium and heavy rain (top) by SPANet (middle) and by our method (bottom). Our method could produce more pleasant results. The rain density of each image is estimated by our method and indicated in read.
@article{codenet2020he,		
  title={Single Image Deraining with Continuous Rain Density Estimation},
  author={Jingwei He and Lei Yu and Gui-Song Xia and Wen Yang},
  journal={arXiv preprint arXiv:2006.03190},
  year={2020}
} 

Contents

Introduction

Single image deraining (SIDR) often suffers from over/under deraining due to the nonuniformity of rain densities and the variety of raindrop scales. In this paper, we propose a continuous density guided network (CODE-Net) for SIDR. Particularly, it is composed of a rain streaks extractor and a denoiser, where the convolutional sparse coding (CSC) is exploited to filter out noises from the extracted rain streaks. Inspired by the reweighted iterative soft-threshold for CSC, we address the problem of continuous rain density estimation by learning the weights with channel attention blocks from sparse codes. We further exploit a multiscale strategy to depict rain streaks appearing at different scales. Experiments on synthetic and real-world data demonstrate the superiority of our methods over recent state-of-the-arts, in terms of both quantitative and qualitative results. Additionally, instead of quantizing rain density with several levels, our CODE-Net can provide continuous-valued estimations of rain densities, which is more desirable in real applications.

haha
Figure 2. Architecture of the proposed CODE-Net.

Results

Rain Density Estimation (RDE) by Weights

The rain density is estimated without any labels in our model, instead of training an extra network in a supervised way to classify the rain density into three categories in DID-MDN. Besides, thanks to the weights, our model is capable of estimating the rain density with continuous states, which is more suitable for real raining scenes than algorithms only classifying rain density into limited discrete states, for instance, DID-MDN.

haha
Figure 3. A clear image (blue) and several samples (yellow) of different rain levels and corresponding RDEs.

Qualitative Comparisons

haha haha
Qualitative comparisons (PSNR, SSIM) of images from Rain1200 and Rain12.
haha
Qualitative comparisons of real-world images, with the corresponding RDE calculated by our method.
haha
More qualitative comparisons of real-world images.

More deraining results on Rain1200/Rain12/Testing1000/RealImages could be found in BaiduNetdisk (psw:nhra)

Quantitative Comparisons

haha

Extensions

Low-level vision tasks

Desnowing

haha haha haha
haha haha haha

High-level vision tasks

Object detection results with/without deraining. The labels and corresponding confidences are both given by Google Vision API. (left: rainy inputs; right: deraining results)

haha haha haha haha

All of the above verify the effectiveness of our proposed method.

About

Single Image Deraining with Coutinuous Density Estimation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published