Network Inpainting via Optimal Transport
Enrico Facca, Jan Martin Nordbotten, Erik Andreas Hanson
TL;DR
This work introduces Network Inpainting via Optimal Transport (NIOT), a model-driven framework for reconstructing network-like structures from corrupted images by coupling a data misfit with a physics-based regularizer inspired by branched transport. The regularizer is implemented as $\mathcal{R}(\mu)=\mathcal{E}(\mu)+\mathcal{M}_{\gamma}(\mu)$, where $\mu$ acts as a conductivity and $u(\mu)$ solves a PDE linking transport to the network path, enabling a continuous, topology-preserving prior. A two-pronged data fidelity approach maps conductivity to image space via either a simple identity $\mathcal{I}(\mu)=\alpha\mu$ or a porous-media-based map $\mathcal{I}(\mu)=\alpha\rho(t^*,m,\mu)$, with a weighted $L^{2}$ discrepancy $\mathcal{D}$ guiding the fit to observed data $I_{\text{obs}}$ under mask or full-domain confidence $W$. The method is realized on a Cartesian grid with gradient-based optimization and adjoint-enabled differentiation, demonstrates strong connectivity restoration and skeletonization in hand-drawn and frog-tongue networks, and shows potential for artifact pruning and data-informed reconstructions, albeit with nonconvex optimization and parameter-tuning challenges. The results indicate NIOT as a robust, physics-informed alternative to traditional inpainting for network-structured images, with applications spanning biology, hydrology, and image-based simulations.
Abstract
In this work, we present a novel tool for reconstructing networks from corrupted images. The reconstructed network is the result of a minimization problem that has a misfit term with respect to the observed data, and a physics-based regularizing term coming from the theory of optimal transport. Through a range of numerical tests, we demonstrate that our suggested approach can effectively rebuild the primary features of damaged networks, even when artifacts are present.
