Look-Around Before You Leap: High-Frequency Injected Transformer for Image Restoration

Shihao Zhou, Duosheng Chen, Jinshan Pan, Jufeng Yang
3/30/2024
cs.CV

Official code: joshyZhou/HIT (6 stars, last commit 2024-03-25).

Abstract

Transformer-based approaches have achieved superior performance in image restoration, since they can model long-term dependencies well. However, the limitation in capturing local information restricts their capacity to remove degradations. While existing approaches attempt to mitigate this issue by incorporating convolutional operations, the core component in Transformer, i.e., self-attention, which serves as a low-pass filter, could unintentionally dilute or even eliminate the acquired local patterns. In this paper, we propose HIT, a simple yet effective High-frequency Injected Transformer for image restoration. Specifically, we design a window-wise injection module (WIM), which incorporates abundant high-frequency details into the feature map, to provide reliable references for restoring high-quality images. We also develop a bidirectional interaction module (BIM) to aggregate features at different scales using a mutually reinforced paradigm, resulting in spatially and contextually improved representations. In addition, we introduce a spatial enhancement unit (SEU) to preserve essential spatial relationships that may be lost due to the computations carried out across channel dimensions in the BIM. Extensive experiments on 9 tasks (real noise, real rain streak, raindrop, motion blur, moiré, shadow, snow, haze, and low-light condition) demonstrate that HIT with linear computational complexity performs favorably against the state-of-the-art methods. The source code and pre-trained models will be available at https://github.com/joshyZhou/HIT.

View on arXivView PDF

Code Implementations(1)

joshyZhou/HITOfficial100%

Look-Around Before You Leap: High-Frequency Injected Transformer for Image Restoration

60Mar 25, 20242 years ago

Cite this paper

@article{zhou2024lookaround,
  title  = {Look-Around Before You Leap: High-Frequency Injected Transformer for Image Restoration},
  author = {Shihao Zhou and Duosheng Chen and Jinshan Pan and Jufeng Yang},
  year   = {2024},
  eprint = {2404.00279},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.00279v1}
}

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

Discussion