基于Swin Transformer的多阶段图像去雨网络
首发时间:2022-12-12
摘要:各种视觉任务如目标检测等在应用时,一般基于清晰图像进行处理,退化的图片会降低这些视觉算法的准确率。而雨天会对拍摄的图像产生遮挡、模糊,使得拍摄的图片质量退化。因此,图像去雨是目前的一个研究热点。但是现有的去雨算法还存在着雨纹残留、背景纹理模糊的问题。因此,本文提出了一种基于Swin Transformer的多阶段图像去雨算法。该算法能有效关注图片的全局信息,充分利用正负样本,循序渐进地获得更好的去雨效果。具体地说,网络基于Encoder-Decoder框架,其中Encoder部分基于Swin Transformer。此外,网络引入对比损失,将雨图和干净图片分别作为负样本和正样本,确保去雨后的图片在特征空间中靠近清晰图片,远离雨图。网络共有两个阶段,使用递归层进行连接,循序渐进地去除雨纹信息,恢复干净的背景。通过在几个具有挑战性的数据集上进行广泛的实验证明,与现有算法相比,本文提出的方法有更好的表现。
关键词: 去雨 Swin Transformer 多阶段 对比损失
For information in English, please click here
Multi-stage image rain removal network based on Swin Transformer
Abstract:Various vision tasks such as object detection are generally processed based on clear images when applied, and degraded images will reduce the accuracy of these vision algorithms. Rainy days will block and blur the captured images, which will degrade the quality of the captured images. Therefore, image rain removal is currently a research hotspot. However, the existing rain removal algorithms still have the problems of rain streak residue and blurred background texture. Therefore, a multi-stage image raining algorithm based on Swin Transformer is proposed in this paper. The algorithm can effectively pay attention to the global information of the image, make full use of positive and negative samples, and gradually obtain better rain removal effect. Specifically, the network is based on the Encoder-Decoder framework, where the Encoder is partly based on the Swin Transformer. In addition, the network introduces contrastive loss, and treats the rain image and the clean image as negative samples and positive samples respectively, to ensure that the restored image is close to the clear picture and away from the rain image in the feature space. The network has two stages, using a recursive layer to connect, gradually removing rain streaks and restoring a clean background. Through extensive experiments on several challenging datasets, it is proved that the proposed method has better performance compared to existing algorithms.????
Keywords: rain removal Swin Transformer multi-stage contrastive loss
基金:
引用
No.****
动态公开评议
共计0人参与
勘误表
基于Swin Transformer的多阶段图像去雨网络
评论
全部评论