학술

Pixel2Primitives: Geometry-Aware Reconstruction of Editable Scientific Figures

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

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.
Additional Features

관련 뉴스