Monte Carlo optimization for gradient meshes

Vector graphics provide continuous and often even smooth geometric representations of images. While recent approaches to automatically vectorize images lead to relatively good results, they typically leave ample room for improvement: the geometry and color of the vector graphics primitives can be further (automatically) optimized. We propose a novel method that generates high-quality vectorizations based on optimizing input curved triangle meshes (optionally with mesh colors). To overcome the key challenge of establishing a differentiable mapping between the input parameters, i.e., geometry and (mesh) colors of the gradient mesh, and the difference between the vectorized and input image, we treat the input image as a continuous bilinear interpolatory spline and employ Monte Carlo integration. We test our algorithm on various images and show that it can effectively and efficiently improve the quality of an initial vectorization. • We introduce a differentiable error function to drive optimization. • We derive an explicit gradient from the error function using the Monte Carlo method. • We illustrate the effectiveness of the method on various examples.

Authors

Institutions

Publication Details

Journal
Graphical Models
Published
2026-01-01
DOI
https://doi.org/10.1016/j.gmod.2026.101320
Primary Topic
3D Shape Modeling and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Monte Carlo optimization for gradient meshes

J.B.T.M. Roerdink, Jiří Kosinka, K. L. He
Graphical Models
3D Shape Modeling and Analysis
article

Monte Carlo optimization for gradient meshes

J.B.T.M. Roerdink, Jiří Kosinka, K. L. He
article en

Abstract

Vector graphics provide continuous and often even smooth geometric representations of images. While recent approaches to automatically vectorize images lead to relatively good results, they typically leave ample room for improvement: the geometry and color of the vector graphics primitives can be further (automatically) optimized. We propose a novel method that generates high-quality vectorizations based on optimizing input curved triangle meshes (optionally with mesh colors). To overcome the key challenge of establishing a differentiable mapping between the input parameters, i.e., geometry and (mesh) colors of the gradient mesh, and the difference between the vectorized and input image, we treat the input image as a continuous bilinear interpolatory spline and employ Monte Carlo integration. We test our algorithm on various images and show that it can effectively and efficiently improve the quality of an initial vectorization. • We introduce a differentiable error function to drive optimization. • We derive an explicit gradient from the error function using the Monte Carlo method. • We illustrate the effectiveness of the method on various examples.

Graphical ModelsVol. 143
University of Groningen (NL)
Openalex Percentile: Top 92%
3D Shape Modeling and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.