Image Inpainting via Conditional Texture and Structure Dual Generation

Xiefan Guo, Hongyu Yang, Di Huang
8/22/2021
315 citations
cs.CV

Official code: xiefan-guo/ctsdg (205 stars, Python, MIT, last commit 2024-04-04).

Abstract

Deep generative approaches have recently made considerable progress in image inpainting by introducing structure priors. Due to the lack of proper interaction with image texture during structure reconstruction, however, current solutions are incompetent in handling the cases with large corruptions, and they generally suffer from distorted results.

Show full abstract

In this paper, we propose a novel two-stream network for image inpainting, which models the structure-constrained texture synthesis and texture-guided structure reconstruction in a coupled manner so that they better leverage each other for more plausible generation. Furthermore, to enhance the global consistency, a Bi-directional Gated Feature Fusion (Bi-GFF) module is designed to exchange and combine the structure and texture information and a Contextual Feature Aggregation (CFA) module is developed to refine the generated contents by region affinity learning and multi-scale feature aggregation. Qualitative and quantitative experiments on the CelebA, Paris StreetView and Places2 datasets demonstrate the superiority of the proposed method. Our code is available at https://github.com/Xiefan-Guo/CTSDG.

View on arXivView PDF

Code Implementations(1)

xiefan-guo/ctsdgOfficial100%
MIT

[ICCV 2021] Image Inpainting via Conditional Texture and Structure Dual Generation

20528PythonAug 15, 20212 years agoMIT

Similar Papers

Cite this paper

@article{guo2021image,
  title  = {Image Inpainting via Conditional Texture and Structure Dual Generation},
  author = {Xiefan Guo and Hongyu Yang and Di Huang},
  year   = {2021},
  eprint = {2108.09760},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.09760}
}

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

Discussion