Restoring Vision in Rain-by-snow Weather with Simple Attention-Based Sampling Cross-Hierarchy Transformer

Yuanbo Wen,Tao Gao,Kaihao Zhang,Peng Cheng,Ting Chen
DOI: https://doi.org/10.1016/j.patcog.2024.110743
IF: 8
2024-01-01
Pattern Recognition
Abstract:As an unnoticed specialized task in image restoration, rain-by-snow weather removal aims to eliminate the complicated coexisting rain streaks and snow particles. In this work, we propose a simple attention-based sampling cross-hierarchy Transformer (SASCFormer). Initially, we explore the proximity of convolution network and Transformer in hierarchical architectures and experimentally find they perform approximately for intra-stage feature representation. On this basis, we utilize a Transformer-like convolution block (TCB) to replace the computation-heavy self-attention while preserving the attention characteristics for adapting to the input content. Meanwhile, we demonstrate that cross-stage sampling progression is critical for the performance improvement in rain-by-snow weather removal, and propose a global–local self-attention sampling mechanism (GLSASM) that samples the features while preserving both the global and local dependencies. Finally, we synthesize two novel rain-by-snow weather-degraded benchmarks, RSCityscapes and RS100K datasets. Extensive experiments verify that our proposed SASCFormer achieves the best trade-off between the performance and inference time. In particular, our approach advances existing methods by 1.14dB∼4.89dB in peak signal-to-noise ratio. Related resources are available at https://github.com/chdwyb/Rain-by-snow.
What problem does this paper attempt to address?