Learning Sparse Masks for Diffusion-based Image Inpainting
Preprint
Abstract
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 applications such as image compression, where fast encoding is highly desirable.Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- Connections Between Numerical Algorithms for PDEs and Neural NetworksJournal of Mathematical Imaging and Vision, 2022
- A systematic evaluation of coding strategies for sparse binary imagesSignal Processing: Image Communication, 2021
- Deep Energy: Task Driven Training of Deep Neural NetworksIEEE Journal of Selected Topics in Signal Processing, 2021
- Adaptive Image Sampling Using Deep Learning and Its Application on X-Ray Fluorescence Image ReconstructionIEEE Transactions on Multimedia, 2019
- Deep Shrinkage Convolutional Neural Network for Adaptive Noise ReductionIEEE Signal Processing Letters, 2017
- On the convergence of a linesearch based proximal-gradient method for nonconvex optimizationInverse Problems, 2017
- Evaluating the true potential of diffusion-based inpainting in a compression contextSignal Processing: Image Communication, 2016
- Understanding, Optimising, and Extending Data Compression with Anisotropic DiffusionInternational Journal of Computer Vision, 2014
- Image Compression with Anisotropic DiffusionJournal of Mathematical Imaging and Vision, 2008
- Image compression by linear splines over adaptive triangulationsSignal Processing, 2006