Deep learning algorithms have recently achieved promising deraining performances on both the natural and synthetic rainy datasets. As an essential low-level pre-processing stage, a deraining network should clear the rain streaks and preserve the fine semantic details. However, most existing methods only consider low-level image restoration. That limits their performances at high-level tasks requiring precise semantic information. To address this issue, in this paper, we present a segmentation-aware progressive network (SAPNet) based upon contrastive learning for single image deraining. We start our method with a lightweight derain network formed with progressive dilated units (PDU). The PDU can significantly expand the receptive field and characterize multi-scale rain streaks without the heavy computation on multi-scale images. A fundamental aspect of this work is an unsupervised background segmentation (UBS) network initialized with ImageNet and Gaussian weights. The UBS can faithfully preserve an image's semantic information and improve the generalization ability to unseen photos. Furthermore, we introduce a perceptual contrastive loss (PCL) and a learned perceptual image similarity loss (LPISL) to regulate model learning. By exploiting the rainy image and groundtruth as the negative and the positive sample in the VGG-16 latent space, we bridge the fine semantic details between the derained image and the groundtruth in a fully constrained manner. Comprehensive experiments on synthetic and real-world rainy images show our model surpasses top-performing methods and aids object detection and semantic segmentation with considerable efficacy. A Pytorch Implementation is available at https://github.com/ShenZheng2000/SAPNet-for-image-deraining.
翻译:深层学习算法最近在自然和合成的降雨数据集中取得了令人乐观的脱线表现。作为一个基本的低水平预处理阶段,一个脱线网络应该清除雨量并保存精细的语义细节。然而,大多数现有方法只考虑低层次图像恢复。这限制了其在需要准确语义信息的高级任务中的表现。为了解决这一问题,我们在本文件中展示了一个基于单一图像脱线对比学习的分层感知进步网络(SAPNet ) 。我们从一个轻量的脱线网络开始我们的方法,该方法由渐进式增压单位组成。PDU。PDU可以大幅扩大接收场,并描述多层次的降雨量,而无需对多层次图像进行大量计算。这项工作的一个根本方面是未经过度监视的背景分解(UBS)网络,先由图像网和高音量重量组成。UBSBS可以忠实保存图像的精度信息,提高视觉图像的普通检测能力。此外,我们引入了一种可感知的反向式的脱线图像损失(PCL),然后在真实的图像执行中学习了真实的缩缩缩缩的图像。