Learning Sparse Masks for Diffusion-based Image Inpainting

10/06/2021
by   Tobias Alt, et al.
0

Diffusion-based inpainting is a powerful tool for the reconstruction of images from sparse data. Its quality strongly depends on the choice of known data. Optimising their spatial location – the inpainting mask – is challenging. A commonly used tool for this task are stochastic optimisation strategies. However, they are slow as they compute multiple inpainting results. We provide a remedy in terms of a learned mask generation model. By emulating the complete inpainting pipeline with two networks for mask generation and neural surrogate inpainting, we obtain a model for highly efficient adaptive mask generation. Experiments indicate that our model can achieve competitive quality with an acceleration by as much as four orders of magnitude. Our findings serve as a basis for making diffusion-based inpainting more attractive for various applications such as image compression, where fast encoding is highly desirable.

READ FULL TEXT
research
03/17/2023

Efficient Neural Generation of 4K Masks for Homogeneous Diffusion Inpainting

With well-selected data, homogeneous diffusion inpainting can reconstruc...
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
02/11/2022

A Wasserstein GAN for Joint Learning of Inpainting and its Spatial Optimisation

Classic image inpainting is a restoration method that reconstructs missi...
research
06/15/2015

Optimising Spatial and Tonal Data for PDE-based Inpainting

Some recent methods for lossy signal and image compression store only a ...
research
12/27/2018

Adaptive Image Sampling using Deep Learning and its Application on X-Ray Fluorescence Image Reconstruction

This paper presents an adaptive image sampling algorithm based on Deep L...
research
07/09/2020

A Benchmark for Inpainting of Clothing Images with Irregular Holes

Fashion image understanding is an active research field with a large num...
research
07/20/2023

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

Have you ever imagined how it would look if we placed new objects into p...

Please sign up or login with your details

Forgot password? Click here to reset