Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Perceptual Artifacts Localization for Inpainting

About

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. 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.

Lingzhi Zhang, Yuqian Zhou, Connelly Barnes, Sohrab Amirghodsi, Zhe Lin, Eli Shechtman, Jianbo Shi• 2022

Related benchmarks

TaskDatasetResultRank
Artifact DetectionProposed Dataset SPAN
F1 Score0.0609
28
Artifact DetectionProposed Dataset RLFN
F1 Score6.09
28
Artifact DetectionProposed Dataset prominent subset
IoU7.53
28
Artifact DetectionProposed Dataset Original HR
F1 Score1.17
14
Artifact DetectionDeSRA MSE-SR
F1-score0.0609
14
Showing 5 of 5 rows

Other info

Follow for update