Texture Memory-Augmented Deep Patch-Based Image Inpainting

Rui Xu, Minghao Guo, Jiaqi Wang, Xiaoxiao Li, Bolei Zhou +1 more
9/28/2020
cs.CVcs.LGeess.IV

Official code: open-mmlab/mmagic (7,479 stars, Jupyter Notebook, Apache-2.0, PyTorch, last commit 2024-08-06).

Abstract

Patch-based methods and deep networks have been employed to tackle image inpainting problem, with their own strengths and weaknesses. Patch-based methods are capable of restoring a missing region with high-quality texture through searching nearest neighbor patches from the unmasked regions.

Show full abstract

However, these methods bring problematic contents when recovering large missing regions. Deep networks, on the other hand, show promising results in completing large regions. Nonetheless, the results often lack faithful and sharp details that resemble the surrounding area. By bringing together the best of both paradigms, we propose a new deep inpainting framework where texture generation is guided by a texture memory of patch samples extracted from unmasked regions. The framework has a novel design that allows texture memory retrieval to be trained end-to-end with the deep inpainting network. In addition, we introduce a patch distribution loss to encourage high-quality patch synthesis. The proposed method shows superior performance both qualitatively and quantitatively on three challenging image benchmarks, i.e., Places, CelebA-HQ, and Paris Street-View datasets.

View on arXivView PDF

Code Implementations(1)

open-mmlab/mmagicOfficial100%
PyTorchApache-2.0

OpenMMLab Multimodal Advanced, Generative, and Intelligent Creation Toolbox. Unlock the magic 🪄: Generative-AI (AIGC), easy-to-use APIs, awsome model zoo, diffusion models, for text-to-image generation, image/video restoration/enhancement, etc.

7,4791,096Jupyter Notebook, PythonAug 23, 20192 years agoApache-2.0
aigccomputer-visiondeep-learningdiffusiondiffusion-models+14 more

Similar Papers

Cite this paper

@article{xu2020texture,
  title  = {Texture Memory-Augmented Deep Patch-Based Image Inpainting},
  author = {Rui Xu and Minghao Guo and Jiaqi Wang and Xiaoxiao Li and Bolei Zhou and Chen Change Loy},
  year   = {2020},
  eprint = {2009.13240},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.13240}
}

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

Discussion