Perceptual Artifacts Localization for Inpainting

Lingzhi Zhang, Yuqian Zhou, Connelly Barnes, Sohrab Amirghodsi, Zhe Lin +2 more
8/5/2022
cs.CV

Official code: owenzlz/PAL4Inpaint (56 stars, Python, last commit 2024-01-25).

Abstract

Image inpainting is an essential task for multiple practical applications like object removal and image editing. Deep GAN-based models greatly improve the inpainting performance in structures and textures within the hole, but might also generate unexpected artifacts like broken structures or color blobs.

Show full abstract

Users perceive these artifacts to judge the effectiveness of inpainting models, and retouch these imperfect areas to inpaint again in a typical retouching workflow. Inspired by this workflow, we propose a new learning task of automatic segmentation of inpainting perceptual artifacts, and apply the model for inpainting model evaluation and iterative refinement. Specifically, we first construct a new inpainting artifacts dataset by manually annotating perceptual artifacts in the results of state-of-the-art inpainting models. Then we train advanced segmentation networks on this dataset to reliably localize inpainting artifacts within inpainted images. Second, we propose a new interpretable evaluation metric called Perceptual Artifact Ratio (PAR), which is the ratio of objectionable inpainted regions to the entire inpainted area. PAR demonstrates a strong correlation with real user preference. Finally, we further apply the generated masks for iterative image inpainting by combining our approach with multiple recent inpainting methods. Extensive experiments demonstrate the consistent decrease of artifact regions and inpainting quality improvement across the different methods.

View on arXivView PDF

Code Implementations(1)

Perceptual Artifacts Localization for Inpainting, ECCV 2022 (Oral)

560Python, ShellJul 13, 20222 years agoNOASSERTION

Similar Papers

Cite this paper

@article{zhang2022perceptual,
  title  = {Perceptual Artifacts Localization for Inpainting},
  author = {Lingzhi Zhang and Yuqian Zhou and Connelly Barnes and Sohrab Amirghodsi and Zhe Lin and Eli Shechtman and Jianbo Shi},
  year   = {2022},
  eprint = {2208.03357},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.03357}
}

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

Discussion