Pixel2Primitives: Geometry-Aware Reconstruction of Editable Scientific Figures

Rasterized scientific figures preserve visual appearance but lack the object structure needed for editing, and existing image-to-code methods struggle to reconcile high visual fidelity with element-level editability. We present Pixel2Primitives, a geometry-aware agentic framework that reconstructs raster scientific figures as PowerPoint slides composed of native, editable elements. A domain-adapted SAM proposes element regions, which a VLM organizes into reconstruction tasks. To decouple visual perception from geometric construction, shapes and connectors are represented as hierarchies of parts, paths, and sample points. A VLM-based critic inspects the predicted geometry overlaid on image crops to correct geometric and structural errors, and numerical fitting then converts the refined observations into parameterized primitives and curves. We also build a scalable data engine that groups fragmented drawing paths in vector PDFs into coherent elements, yielding 98,861 figures with element-level annotations and editable PowerPoint reconstructions. We further introduce P2PBench, a benchmark of 150 scientific figures with expert-verified PowerPoint ground truth, to evaluate visual fidelity and element-level editability across text, shapes, and connections. Extensive experiments show that Pixel2Primitives substantially outperforms existing methods on both criteria.

Authors

Publication Details

Journal
arXiv
Published
2026-12-03
Primary Topic
Generative Adversarial Networks and Image Synthesis
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Pixel2Primitives: Geometry-Aware Reconstruction of Editable Scientific Figures

Erfei Cui, Jinhui Yin, Baoxiang Du, Daozhu Dong et al.
arXiv
Generative Adversarial Networks and Image Synthesis
preprint

Pixel2Primitives: Geometry-Aware Reconstruction of Editable Scientific Figures

Erfei Cui, Jinhui Yin, Baoxiang Du, Daozhu Dong, Danni Yang, Hongjie Zhang, Yanwen Guo, Guanzhou Chen, Yiqun Kou, Zhihang Zhong, Xu He, Qi Zhang, Lei Yang, Kehan HU, Yuanqi Li
preprint en

Abstract

Rasterized scientific figures preserve visual appearance but lack the object structure needed for editing, and existing image-to-code methods struggle to reconcile high visual fidelity with element-level editability. We present Pixel2Primitives, a geometry-aware agentic framework that reconstructs raster scientific figures as PowerPoint slides composed of native, editable elements. A domain-adapted SAM proposes element regions, which a VLM organizes into reconstruction tasks. To decouple visual perception from geometric construction, shapes and connectors are represented as hierarchies of parts, paths, and sample points. A VLM-based critic inspects the predicted geometry overlaid on image crops to correct geometric and structural errors, and numerical fitting then converts the refined observations into parameterized primitives and curves. We also build a scalable data engine that groups fragmented drawing paths in vector PDFs into coherent elements, yielding 98,861 figures with element-level annotations and editable PowerPoint reconstructions. We further introduce P2PBench, a benchmark of 150 scientific figures with expert-verified PowerPoint ground truth, to evaluate visual fidelity and element-level editability across text, shapes, and connections. Extensive experiments show that Pixel2Primitives substantially outperforms existing methods on both criteria.

arXiv
Generative Adversarial Networks and Image Synthesis
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.

Laika access coming soon