SwinIR: Image Restoration Using Swin Transformer

Jingyun Liang, Jiezhang Cao, Guolei Sun, Kai Zhang, Luc Van Gool +1 more
8/23/2021
eess.IVcs.CV

Official code: JingyunLiang/SwinIR (5,614 stars, Apache-2.0, last commit 2024-05-14).

Abstract

Image restoration is a long-standing low-level vision problem that aims to restore high-quality images from low-quality images (e.g., downscaled, noisy and compressed images). While state-of-the-art image restoration methods are based on convolutional neural networks, few attempts have been made with Transformers which show impressive performance on high-level vision tasks. In this paper, we propose a strong baseline model SwinIR for image restoration based on the Swin Transformer. SwinIR consists of three parts: shallow feature extraction, deep feature extraction and high-quality image reconstruction. In particular, the deep feature extraction module is composed of several residual Swin Transformer blocks (RSTB), each of which has several Swin Transformer layers together with a residual connection. We conduct experiments on three representative tasks: image super-resolution (including classical, lightweight and real-world image super-resolution), image denoising (including grayscale and color image denoising) and JPEG compression artifact reduction. Experimental results demonstrate that SwinIR outperforms state-of-the-art methods on different tasks by $\textbf{up to 0.14$\sim$0.45dB}$, while the total number of parameters can be reduced by $\textbf{up to 67%}$.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

SwinIR: Image Restoration Using Swin Transformer (official repository)

5,614670Shell, PythonAug 16, 20212 years agoApache-2.0
compression-artifact-reductiondeblockingdecompressiondenoisingimage-deblocking+11 more

Cite this paper

@article{liang2021swinir,
  title  = {SwinIR: Image Restoration Using Swin Transformer},
  author = {Jingyun Liang and Jiezhang Cao and Guolei Sun and Kai Zhang and Luc Van Gool and Radu Timofte},
  year   = {2021},
  eprint = {2108.10257},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.10257}
}

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

Discussion