Efficient Neural Generation of 4K Masks for Homogeneous Diffusion Inpainting

03/17/2023
by   Karl Schrader, et al.
0

With well-selected data, homogeneous diffusion inpainting can reconstruct images from sparse data with high quality. While 4K colour images of size 3840 x 2160 can already be inpainted in real time, optimising the known data for applications like image compression remains challenging: Widely used stochastic strategies can take days for a single 4K image. Recently, a first neural approach for this so-called mask optimisation problem offered high speed and good quality for small images. It trains a mask generation network with the help of a neural inpainting surrogate. However, these mask networks can only output masks for the resolution and mask density they were trained for. We solve these problems and enable mask optimisation for high-resolution images through a neuroexplicit coarse-to-fine strategy. Additionally, we improve the training and interpretability of mask networks by including a numerical inpainting solver directly into the network. This allows to generate masks for 4K images in around 0.6 seconds while exceeding the quality of stochastic methods on practically relevant densities. Compared to popular existing approaches, this is an acceleration of up to four orders of magnitude.

READ FULL TEXT

page 7

page 8

page 12

research
10/06/2021

Learning Sparse Masks for Diffusion-based Image Inpainting

Diffusion-based inpainting is a powerful tool for the reconstruction of ...
research
07/15/2022

Realistic mask generation for matter-wave lithography via machine learning

Fast production of large area patterns with nanometre resolution is cruc...
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
01/24/2022

RePaint: Inpainting using Denoising Diffusion Probabilistic Models

Free-form inpainting is the task of adding new content to an image in th...
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
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
12/16/2019

MTRNet++: One-stage Mask-based Scene Text Eraser

A precise, controllable, interpretable and easily trainable text removal...

Please sign up or login with your details

Forgot password? Click here to reset