GridFormer: Residual Dense Transformer with Grid Structure for Image Restoration in Adverse Weather Conditions

Tao Wang, Kaihao Zhang, Ziqian Shao, Wenhan Luo, Bjorn Stenger +4 more
5/29/2023
253 citations
cs.CV
transformer-attention

Official code: TaoWangzj/GridFormer (44 stars, Python, last commit 2025-07-14).

Abstract

Image restoration in adverse weather conditions is a difficult task in computer vision. In this paper, we propose a novel transformer-based framework called GridFormer which serves as a backbone for image restoration under adverse weather conditions.

Show full abstract

GridFormer is designed in a grid structure using a residual dense transformer block, and it introduces two core designs. First, it uses an enhanced attention mechanism in the transformer layer. The mechanism includes stages of the sampler and compact self-attention to improve efficiency, and a local enhancement stage to strengthen local information. Second, we introduce a residual dense transformer block (RDTB) as the final GridFormer layer. This design further improves the network's ability to learn effective features from both preceding and current local features. The GridFormer framework achieves state-of-the-art results on five diverse image restoration tasks in adverse weather conditions, including image deraining, dehazing, deraining \& dehazing, desnowing, and multi-weather restoration. The source code and pre-trained models are available at https://github.com/TaoWangzj/GridFormer.

View on arXivView PDF

Code Implementations(1)

The code release of paper " GridFormer: Residual Dense Transformer with Grid Structure for Image Restoration in Adverse Weather Conditions", IJCV 2024

442Python, CudaJun 24, 20241 years ago

Similar Papers

Cite this paper

@article{wang2023gridformer,
  title  = {GridFormer: Residual Dense Transformer with Grid Structure for Image Restoration in Adverse Weather Conditions},
  author = {Tao Wang and Kaihao Zhang and Ziqian Shao and Wenhan Luo and Bjorn Stenger and Tong Lu and Tae-Kyun Kim and Wei Liu and Hongdong Li},
  year   = {2023},
  eprint = {2305.17863},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.17863v2}
}

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/2305.17863.svg)](https://codeofpaper.com/paper/2305.17863)

Discussion