RePaint: Inpainting using Denoising Diffusion Probabilistic Models

01/24/2022
by   Andreas Lugmayr, et al.
5

Free-form inpainting is the task of adding new content to an image in the regions specified by an arbitrary binary mask. Most existing approaches train for a certain distribution of masks, which limits their generalization capabilities to unseen mask types. Furthermore, training with pixel-wise and perceptual losses often leads to simple textural extensions towards the missing areas instead of semantically meaningful generation. In this work, we propose RePaint: A Denoising Diffusion Probabilistic Model (DDPM) based inpainting approach that is applicable to even extreme masks. We employ a pretrained unconditional DDPM as the generative prior. To condition the generation process, we only alter the reverse diffusion iterations by sampling the unmasked regions using the given image information. Since this technique does not modify or condition the original DDPM network itself, the model produces high-quality and diverse output images for any inpainting form. We validate our method for both faces and general-purpose image inpainting using standard and extreme masks. RePaint outperforms state-of-the-art Autoregressive, and GAN approaches for at least five out of six mask distributions. Github Repository: git.io/RePaint

READ FULL TEXT

page 5

page 13

page 15

page 16

page 17

page 21

page 22

page 23

research
02/02/2023

A Theoretical Justification for Image Inpainting using Denoising Diffusion Probabilistic Models

We provide a theoretical justification for sample recovery using diffusi...
research
01/18/2021

Iterative Facial Image Inpainting using Cyclic Reverse Generator

Facial image inpainting is a challenging problem as it requires generati...
research
03/05/2023

SePaint: Semantic Map Inpainting via Multinomial Diffusion

Prediction beyond partial observations is crucial for robots to navigate...
research
10/31/2022

Intelligent Painter: Picture Composition With Resampling Diffusion Model

Have you ever thought that you can be an intelligent painter? This means...
research
03/17/2023

Efficient Neural Generation of 4K Masks for Homogeneous Diffusion Inpainting

With well-selected data, homogeneous diffusion inpainting can reconstruc...
research
12/18/2019

Unsupervised Adversarial Image Inpainting

We consider inpainting in an unsupervised setting where there is neither...
research
09/13/2023

GAN-based Algorithm for Efficient Image Inpainting

Global pandemic due to the spread of COVID-19 has post challenges in a n...

Please sign up or login with your details

Forgot password? Click here to reset