Reference-based Painterly Inpainting via Diffusion: Crossing the Wild Reference Domain Gap

07/20/2023
by   Dejia Xu, et al.
0

Have you ever imagined how it would look if we placed new objects into paintings? For example, what would it look like if we placed a basketball into Claude Monet's “Water Lilies, Evening Effect”? We propose Reference-based Painterly Inpainting, a novel task that crosses the wild reference domain gap and implants novel objects into artworks. Although previous works have examined reference-based inpainting, they are not designed for large domain discrepancies between the target and the reference, such as inpainting an artistic image using a photorealistic reference. This paper proposes a novel diffusion framework, dubbed RefPaint, to “inpaint more wildly” by taking such references with large domain gaps. Built with an image-conditioned diffusion model, we introduce a ladder-side branch and a masked fusion mechanism to work with the inpainting mask. By decomposing the CLIP image embeddings at inference time, one can manipulate the strength of semantic and style information with ease. Experiments demonstrate that our proposed RefPaint framework produces significantly better results than existing methods. Our method enables creative painterly image inpainting with reference objects that would otherwise be difficult to achieve. Project page: https://vita-group.github.io/RefPaint/

READ FULL TEXT

page 1

page 4

page 7

page 8

page 9

page 13

page 14

page 15

research
04/16/2022

Shape-guided Object Inpainting

Previous works on image inpainting mainly focus on inpainting background...
research
11/09/2022

3DFill:Reference-guided Image Inpainting by Self-supervised 3D Image Alignment

Most existing image inpainting algorithms are based on a single view, st...
research
10/06/2021

Learning Sparse Masks for Diffusion-based Image Inpainting

Diffusion-based inpainting is a powerful tool for the reconstruction of ...
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
11/11/2015

A Directional Diffusion Algorithm for Inpainting

The problem of inpainting involves reconstructing the missing areas of a...
research
03/05/2023

SePaint: Semantic Map Inpainting via Multinomial Diffusion

Prediction beyond partial observations is crucial for robots to navigate...

Please sign up or login with your details

Forgot password? Click here to reset