Interactive Image Inpainting Using Semantic Guidance

Wangbo Yu, Jinhao Du, Ruixin Liu, Yixuan Li, Yuesheng zhu
1/26/2022
cs.CVcs.AI

Official code: GooDrYu/Interactive-Image-Inpainting (8 stars, Python, last commit 2022-01-21).

Abstract

Image inpainting approaches have achieved significant progress with the help of deep neural networks. However, existing approaches mainly focus on leveraging the priori distribution learned by neural networks to produce a single inpainting result or further yielding multiple solutions, where the controllability is not well studied.

Show full abstract

This paper develops a novel image inpainting approach that enables users to customize the inpainting result by their own preference or memory. Specifically, our approach is composed of two stages that utilize the prior of neural network and user's guidance to jointly inpaint corrupted images. In the first stage, an autoencoder based on a novel external spatial attention mechanism is deployed to produce reconstructed features of the corrupted image and a coarse inpainting result that provides semantic mask as the medium for user interaction. In the second stage, a semantic decoder that takes the reconstructed features as prior is adopted to synthesize a fine inpainting result guided by user's customized semantic mask, so that the final inpainting result will share the same content with user's guidance while the textures and colors reconstructed in the first stage are preserved. Extensive experiments demonstrate the superiority of our approach in terms of inpainting quality and controllability.

View on arXivView PDF

Code Implementations(1)

80PythonJan 20, 20224 years ago

Similar Papers

Cite this paper

@article{yu2022interactive,
  title  = {Interactive Image Inpainting Using Semantic Guidance},
  author = {Wangbo Yu and Jinhao Du and Ruixin Liu and Yixuan Li and Yuesheng zhu},
  year   = {2022},
  eprint = {2201.10753},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.10753}
}

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

Discussion