Neural Image Abstraction Using Long Smoothing B-Splines
Daniel Berio, Michael Stroh, Sylvain Calinon, Frederic Fol Leymarie, Oliver Deussen, Ariel Shamir
TL;DR
This work integrates smoothing uniform B-splines into a differentiable vector graphics pipeline (DiffVG) to produce long, smooth strokes with analytic derivative-based control, including variable stroke width and support for open or closed curves. By linearly converting B-splines to cubic Bézier segments, the method remains compatible with DiffVG while enabling high-order smoothness through a tractable smoothing cost based on derivatives, e.g., $\mathcal{L}_{\mathrm{smooth}}^{d} = \frac{1}{T} \int \|\mathbf{x}^{(d)}(u)\|^2 du = \mathbf{c}^{\top} \bar{\mathbf{G}} \mathbf{c}$. The approach supports end-to-end gradient-based optimization guided by image-space losses, CLIP or diffusion priors, and a variety of stylization objectives, enabling applications such as area fillings, single-stroke abstractions, area-based vectorizations with color quantization, and text/calligram stylization. The resulting framework offers a flexible, continuous, and computationally efficient pathway to generate expressive vector graphics suited for creative design, image abstraction, and robotic reproduction, while highlighting avenues for future work in non-uniform parameterizations and broader stylistic controls.
Abstract
We integrate smoothing B-splines into a standard differentiable vector graphics (DiffVG) pipeline through linear mapping, and show how this can be used to generate smooth and arbitrarily long paths within image-based deep learning systems. We take advantage of derivative-based smoothing costs for parametric control of fidelity vs. simplicity tradeoffs, while also enabling stylization control in geometric and image spaces. The proposed pipeline is compatible with recent vector graphics generation and vectorization methods. We demonstrate the versatility of our approach with four applications aimed at the generation of stylized vector graphics: stylized space-filling path generation, stroke-based image abstraction, closed-area image abstraction, and stylized text generation.
