Skip to content

The official implementation of "Efficient Frequency-Domain Image Deraining with Contrastive Regularization"

Notifications You must be signed in to change notification settings

deng-ai-lab/FADformer

Repository files navigation

Efficient Frequency-Domain Image Deraining with Contrastive Regularization (ECCV2024)

The official implementation of "Efficient Frequency-Domain Image Deraining with Contrastive Regularization" [ECCV2024]

paper link

2024/09/25 Update:The code is now open, welcome to ask questions in the issue, we will try our best to solve errors and doubts

2024/09/26 Update: Pre-trained weights and visualization images are provided by link.

2024/09/29 Update: You can download our paper here!

Authors

  • Ning Gao
  • Xingyu Jiang
  • Xiuhui Zhang
  • Yue Deng *

School of Astronautics, Beihang University, Beijing, China

Abstract

Most current single image-deraining (SID) methods are based on the Transformer with global modeling for high-quality reconstruction. However, their architectures only build long-range features from the spatial domain, which suffers from a significant computational burden to keep effectiveness. Besides, these methods either overlook negative sample information in training or underutilize the rain streak patterns present in the negative ones. To tackle these problems, we propose a Frequency-Aware Deraining Transformer Framework (FADformer) that fully captures frequency domain features for efficient rain removal. Specifically, we construct the FADBlock, including the Fused Fourier Convolution Mixer (FFCM) and Prior-Gated Feed-forward Network (PGFN). Unlike self-attention mechanisms, the FFCM conducts convolution operations in both spatial and frequency domains, endowing it with local-global capturing capabilities and efficiency. Simultaneously, the PGFN introduces residue channel prior in a gating manner to enhance local details and retain feature structure. Furthermore, we introduce a Frequency-domain Contrastive Regularization (FCR) during training. The FCR facilitates contrastive learning in the frequency domain and leverages rain streak patterns in negative samples to improve performance. Extensive experiments show the efficiency and effectiveness of our FADformer.

Keywords

  • SID
  • Frequency Learning
  • Contrastive Regularization

Motivation

Motivation

Method

Method

Results

Results

Pre-trained Models

Dataset Rain200L Rain200H DID-Data DDN-Data SPA-Data
Baidu NetDisk Download (cozn) Download (qw5d) Download (0vcr) Download (c313) Download (3s40)

Visual Results

Dataset Rain200L Rain200H DID-Data DDN-Data SPA-Data
Baidu NetDisk Download (ktqb) Download (qty6) Download (u3ju) Download (mqsr) Download (q6hx)

Supplementary Material

For more visualizations, see the supplementary material.

References

Waiting for the publication of ECCV2024

About

The official implementation of "Efficient Frequency-Domain Image Deraining with Contrastive Regularization"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages