Reference-Guided Texture and Structure Inference for Image Inpainting

Taorong Liu, Liang Liao, Zheng Wang, Shin'ichi Satoh
7/29/2022
cs.CV

Official code: Cameltr/RGTSI (38 stars, Python, Apache-2.0, PyTorch, last commit 2025-02-26).

Abstract

Existing learning-based image inpainting methods are still in challenge when facing complex semantic environments and diverse hole patterns. The prior information learned from the large scale training data is still insufficient for these situations.

Show full abstract

Reference images captured covering the same scenes share similar texture and structure priors with the corrupted images, which offers new prospects for the image inpainting tasks. Inspired by this, we first build a benchmark dataset containing 10K pairs of input and reference images for reference-guided inpainting. Then we adopt an encoder-decoder structure to separately infer the texture and structure features of the input image considering their pattern discrepancy of texture and structure during inpainting. A feature alignment module is further designed to refine these features of the input image with the guidance of a reference image. Both quantitative and qualitative evaluations demonstrate the superiority of our method over the state-of-the-art methods in terms of completing complex holes.

View on arXivView PDF

Code Implementations(1)

Cameltr/RGTSIOfficial100%
PyTorchApache-2.0

[ICIP 2022] Code and datasets of paper 'Reference-Guided Texture and Structure Inference for Image Inpainting'

382Python, MATLABMay 27, 20221 years agoApache-2.0
image-inpaintingpytorch

Similar Papers

Cite this paper

@article{liu2022referenceguided,
  title  = {Reference-Guided Texture and Structure Inference for Image Inpainting},
  author = {Taorong Liu and Liang Liao and Zheng Wang and Shin'ichi Satoh},
  year   = {2022},
  eprint = {2207.14498},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.14498}
}

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

Discussion