{"slug": "when-fast-fourier-transform-meets-transformer-for-image-restoration", "title": "When Fast Fourier Transform Meets Transformer for Image Restoration", "summary": "SFHformer, an image restoration framework that integrates Fast Fourier Transform (FFT) with Transformer architecture to address various image degradations like dehazing, deraining, and deblurring. By analyzing degradation from a frequency perspective, the model uses a dual-domain hybrid structure for multi-scale receptive fields, with spatial and frequency domains focusing on local and global modeling respectively. Extensive tests on thirty-one datasets across ten restoration tasks show SFHformer outperforms existing methods while balancing performance, parameter size, and computational cost.", "body_md": "Official implementation.\nXingyu Jiang, Xiuhui Zhang, Ning Gao, Yue Deng *\nSchool of Astronautics, Beihang University, Beijing, China\nThanks for your interest in our work, we will continue to optimize our code. If you have any other questions, please feel free to raise them in the issues, and I will try my best to address them!\n- May 20, 2025: Our extension work SWFormer:\"Image Restoration via Multi-domain Learning\" of SFHformer is available at https://arxiv.org/pdf/2505.05504. Github Code: https://github.com/deng-ai-lab/SWFormer.\n- Apr 11, 2025: We release some visualizations of the dataset in the Visual result section.\n- Mar 27, 2025: We release the pre-training weights of ITS and OTS with the test code in the dehazing folder.\n- Oct 17, 2024: The train code is now open and our paper is available here!\n- Jul 25, 2024: Paper accepted at ECCV 2024.\nAbstract: Natural images can suffer from various degradation phenomena caused by adverse atmospheric conditions or unique degradation mechanism. Such diversity makes it challenging to design a universal framework for kinds of restoration tasks. Instead of exploring the commonality across different degradation phenomena, existing image restoration methods focus on the modification of network architecture under limited restoration priors. In this work, we first review various degradation phenomena from a frequency perspective as prior. Based on this, we propose an efficient image restoration framework, dubbed SFHformer, which incorporates the Fast Fourier Transform mechanism into Transformer architecture. Specifically, we design a dual domain hybrid structure for multi-scale receptive fields modeling, in which the spatial domain and the frequency domain focuses on local modeling and global modeling, respectively. Moreover, we design unique positional coding and frequency dynamic convolution for each frequency component to extract rich frequency-domain features. Extensive experiments on thirty-one restoration datasets for a range of ten restoration tasks such as deraining, dehazing, deblurring, desnowing, denoising, super-resolution and underwater/low-light enhancement, demonstrate that our SFHformer surpasses the state-of-the-art approaches and achieves a favorable trade-off between performance, parameter size and computational cost.\nExperiments are performed for different image restoration tasks including, image dehazing, image deraining, image desnowing, image denoising, image super-resolution, single-image motion deblurring, defocus deblurring, image raindrop removal, low-light image enhancement and underwater image enhancement.\nDeraining Datasets: Rain200L/Rain200H DDN-Data DID-Data Train DID-Data Test SPA-Data Raindrop\nDehazing Datasets: ITS OTS O-HAZE NH-HAZE DENSE-HAZE SOTS\nLow-light Enhancement Datasets: LOLv1 LOLv2 FiveK\nMotion Deblur Datasets: Motion Blur(GoPro/HIDE/RealBlur-R/RealBlur-J)\nDefocus Deblur Datasets: DPDD\nDesnowing Datasets: CSD SRRS Snow100K\nUnderwater Enhancement Datasets: UIEB LSUI\nDenoise Datasets: SIDD\nSuper-resolution Datasets: DIV2K Set5 Set14 B100 Urban100 Manga109\nLow-light Enhancement Datasets: LOLv2-r LOLv2-s\nMotion Deblur Datasets: GoPro\nFor more details, see the supplementary material here!\nHere is the BibTeX citation for the paper:\n@inproceedings{jiang2024fast,\ntitle={When Fast Fourier Transform Meets Transformer for Image Restoration},\nauthor={Jiang, Xingyu and Zhang, Xiuhui and Gao, Ning and Deng, Yue},\nbooktitle={European Conference on Computer Vision},\npages={381--402},\nyear={2024},\norganization={Springer}\n}\nPart of our code is based on the Dehazeformer and Restormer. Thanks for their awesome work.\nIf your submitted issue has not been noticed or there are further questions, please contact jxy33zrhd@buaa.edu.cn.", "url": "https://wpnews.pro/news/when-fast-fourier-transform-meets-transformer-for-image-restoration", "canonical_source": "https://github.com/deng-ai-lab/SFHformer", "published_at": "2026-05-18 14:10:47+00:00", "updated_at": "2026-05-20 13:37:50.486000+00:00", "lang": "en", "topics": ["research", "artificial-intelligence", "machine-learning"], "entities": ["Xingyu Jiang", "Xiuhui Zhang", "Ning Gao", "Yue Deng", "Beihang University", "SFHformer", "SWFormer", "ECCV 2024"], "alternates": {"html": "https://wpnews.pro/news/when-fast-fourier-transform-meets-transformer-for-image-restoration", "markdown": "https://wpnews.pro/news/when-fast-fourier-transform-meets-transformer-for-image-restoration.md", "text": "https://wpnews.pro/news/when-fast-fourier-transform-meets-transformer-for-image-restoration.txt", "jsonld": "https://wpnews.pro/news/when-fast-fourier-transform-meets-transformer-for-image-restoration.jsonld"}}