arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2111.14813cs.CV
收藏

TransWeather:基于变换器的恶劣天气条件下图像复原

TransWeather: Transformer-based Restoration of Images Degraded by Adverse Weather Conditions

Johns Hopkins University(约翰斯·霍普金斯大学)

Jeya Maria Jose Valanarasu, Rajeev Yasarla, Vishal M. Patel

摘要:

在许多应用中,从图像中去除诸如雨、雾和雪等不利天气条件是一个重要问题。文献中提出的大多数方法都是为了消除一种类型的退化。最近,提出了一种使用神经架构搜索(All-in-One)的基于CNN的方法,可以一次删除所有天气条件。然而,它有大量的参数,因为它使用多个编码器来满足每个天气消除任务,并且仍然有改进其性能的余地。在这项工作中,我们专注于开发一个有效的解决方案,为所有不利天气清除问题。为此,我们提出了TransWeather,一个基于transformer的端到端模型,只有一个编码器和一个解码器,可以恢复任何天气条件下退化的图像。具体来说,我们利用一种新的Transformer编码器使用内补丁Transformer块,以提高注意力的补丁内,有效地消除较小的天气退化。我们还介绍了一个Transformer解码器,它具有可学习的天气类型嵌入,以适应当前的天气退化。TransWeather通过All-in-One网络以及针对特定任务进行微调的方法在多个测试数据集上实现了改进。TransWeather还在真实世界的测试图像上进行了验证,发现它比以前的方法更有效。实现代码可以在https://github.com/jeya-maria-jose/TransWeather上访问。

英文摘要:

Removing adverse weather conditions like rain, fog, and snow from images is an important problem in many applications. Most methods proposed in the literature have been designed to deal with just removing one type of degradation. Recently, a CNN-based method using neural architecture search (All-in-One) was proposed to remove all the weather conditions at once. However, it has a large number of parameters as it uses multiple encoders to cater to each weather removal task and still has scope for improvement in its performance. In this work, we focus on developing an efficient solution for the all adverse weather removal problem. To this end, we propose TransWeather, a transformer-based end-to-end model with just a single encoder and a decoder that can restore an image degraded by any weather condition. Specifically, we utilize a novel transformer encoder using intra-patch transformer blocks to enhance attention inside the patches to effectively remove smaller weather degradations. We also introduce a transformer decoder with learnable weather type embeddings to adjust to the weather degradation at hand. TransWeather achieves improvements across multiple test datasets over both All-in-One network as well as methods fine-tuned for specific tasks. TransWeather is also validated on real world test images and found to be more effective than previous methods. Implementation code can be accessed at https://github.com/jeya-maria-jose/TransWeather .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑