Frequency-Domain Fusion Transformer for Image Inpainting

Sijin He, Guangfeng Lin, Tao Li, Yajun Chen
6/23/2025
cs.CV
transformer-attention

No confident code implementation found for this paper.

Abstract

Image inpainting plays a vital role in restoring missing image regions and supporting high-level vision tasks, but traditional methods struggle with complex textures and large occlusions. Although Transformer-based approaches have demonstrated strong global modeling capabilities, they often fail to preserve high-frequency details due to the low-pass nature of self-attention and suffer from high computational costs.

Show full abstract

To address these challenges, this paper proposes a Transformer-based image inpainting method incorporating frequency-domain fusion. Specifically, an attention mechanism combining wavelet transform and Gabor filtering is introduced to enhance multi-scale structural modeling and detail preservation. Additionally, a learnable frequency-domain filter based on the fast Fourier transform is designed to replace the feedforward network, enabling adaptive noise suppression and detail retention. The model adopts a four-level encoder-decoder structure and is guided by a novel loss strategy to balance global semantics and fine details. Experimental results demonstrate that the proposed method effectively improves the quality of image inpainting by preserving more high-frequency information.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{he2025frequencydomain,
  title  = {Frequency-Domain Fusion Transformer for Image Inpainting},
  author = {Sijin He and Guangfeng Lin and Tao Li and Yajun Chen},
  year   = {2025},
  eprint = {2506.18437},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.18437v1}
}

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

Discussion