SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing

Sixiang Chen, Tian Ye, Yun Liu, Erkang Chen
8/20/2022
cs.CV
transformer-attention

Official code: Ephemeral182/SnowFormer (93 stars, Python, last commit 2023-08-30).

Abstract

Due to various and complicated snow degradations, single image desnowing is a challenging image restoration task. As prior arts can not handle it ideally, we propose a novel transformer, SnowFormer, which explores efficient cross-attentions to build local-global context interaction across patches and surpasses existing works that employ local operators or vanilla transformers.

Show full abstract

Compared to prior desnowing methods and universal image restoration methods, SnowFormer has several benefits. Firstly, unlike the multi-head self-attention in recent image restoration Vision Transformers, SnowFormer incorporates the multi-head cross-attention mechanism to perform local-global context interaction between scale-aware snow queries and local-patch embeddings. Second, the snow queries in SnowFormer are generated by the query generator from aggregated scale-aware features, which are rich in potential clean cues, leading to superior restoration results. Third, SnowFormer outshines advanced state-of-the-art desnowing networks and the prevalent universal image restoration transformers on six synthetic and real-world datasets. The code is released in \url{https://github.com/Ephemeral182/SnowFormer}.

View on arXivView PDF

Code Implementations(1)

This is the official implementation code repository of SnowFormer: Scale-aware Transformer via Context Interaction for Single Image Desnowing

935Python3 years ago

Similar Papers

Cite this paper

@article{chen2022snowformer,
  title  = {SnowFormer: Context Interaction Transformer with Scale-awareness for Single Image Desnowing},
  author = {Sixiang Chen and Tian Ye and Yun Liu and Erkang Chen},
  year   = {2022},
  eprint = {2208.09703},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.09703}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.09703.svg)](https://codeofpaper.com/paper/2208.09703)

Discussion