The official implementation of ECCV2024 paper "Efficient Frequency-Domain Image Deraining with Contrastive Regularization"
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!
2024/11/12 Update: You can now find the official publication of Springer here, including supple materials: https://link.springer.com/chapter/10.1007/978-3-031-72940-9_14
School of Astronautics, Beihang University, Beijing, China
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.
Dataset | Rain200L | Rain200H | DID-Data | DDN-Data | SPA-Data |
---|---|---|---|---|---|
Baidu NetDisk | Download (cozn) | Download (qw5d) | Download (0vcr) | Download (c313) | Download (3s40) |
Dataset | Rain200L | Rain200H | DID-Data | DDN-Data | SPA-Data |
---|---|---|---|---|---|
Baidu NetDisk | Download (ktqb) | Download (qty6) | Download (u3ju) | Download (mqsr) | Download (q6hx) |
For more visualizations, see the supplementary material.
Waiting for the publication of ECCV2024