Both Spatial and Frequency Cues Contribute to High-Fidelity Image Inpainting

Ze Lu, Yalei Lv, Wenqi Wang, Pengfei Xiong
7/15/2023
cs.CV

No confident code implementation found for this paper.

Abstract

Deep generative approaches have obtained great success in image inpainting recently. However, most generative inpainting networks suffer from either over-smooth results or aliasing artifacts. The former lacks high-frequency details, while the latter lacks semantic structure. To address this issue, we propose an effective Frequency-Spatial Complementary Network (FSCN) by exploiting rich semantic information in both spatial and frequency domains. Specifically, we introduce an extra Frequency Branch and Frequency Loss on the spatial-based network to impose direct supervision on the frequency information, and propose a Frequency-Spatial Cross-Attention Block (FSCAB) to fuse multi-domain features and combine the corresponding characteristics. With our FSCAB, the inpainting network is capable of capturing frequency information and preserving visual consistency simultaneously. Extensive quantitative and qualitative experiments demonstrate that our inpainting network can effectively achieve superior results, outperforming previous state-of-the-art approaches with significantly fewer parameters and less computation cost. The code will be released soon.

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{lu2023both,
  title  = {Both Spatial and Frequency Cues Contribute to High-Fidelity Image Inpainting},
  author = {Ze Lu and Yalei Lv and Wenqi Wang and Pengfei Xiong},
  year   = {2023},
  eprint = {2307.07678},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.07678v1}
}

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

Discussion