  Deep convolutional neural networks have been a popular tool for image
generation and restoration. The performance of these networks is related to the
capability of learning realistic features from a large dataset. In this work,
we applied the problem of inpainting non-Gaussian signal, in the context of
Galactic diffuse emissions at the millimetric and sub-millimetric regimes,
specifically Synchrotron and Thermal Dust emission. Both of them are affected
by contamination at small angular scales due to extra-galactic radio sources
(the former) and to dusty star-forming galaxies (the latter). We consider the
performances of a nearest-neighbors inpainting technique and compare it with
two novels methodologies relying on generative Neural Networks. We show that
the generative network is able to reproduce the statistical properties of the
ground truth signal more consistently with high confidence level. The Python
Inpainter for Cosmological and AStrophysical SOurces (PICASSO) is a package
encoding a suite of inpainting methods described in this work and has been made
publicly available.
