Home/Archives/Accurate Extraction of Pen-Movement Data from Images of Known Characters
Article 97 Volume 2 | 2026

Accurate Extraction of Pen-Movement Data from Images of Known Characters

Abstract

This study aims to extract the pen movement from images of a specified kanji character carefully handwritten with hard-tipped writing tools. Handwritten exemplars, including textbook models, often exist only as images, which record neither the individual strokes nor their order. We propose a learning-free method that takes stroke identities and order from a KanjiVG reference of the same character and fits its Bézier curves to the image skeleton. The method aligns the whole character, then its components and individual strokes, and finally adjusts the control points. Each stage alternates between updating correspondences and solving a least-squares problem exactly. The final stage evaluates the fit in both directions for each stroke and omits the penalty on distances between adjacent control points, which tends to shorten strokes. We evaluated the method on 32 characters each from pencil-written regular-script exemplars, Gothic type, and Mincho type, and on 96 images rendered from pen trajectories recorded from two writers, which served as per-stroke ground truth. The per-stroke error, the mean bidirectional distance between each fitted curve and its recorded trajectory, was 0.807 px on average, lower than 0.993 px for the best of our baseline implementations, which used learned per-stroke affine initialization. Processing took approximately 0.11 s per character. The method requires a KanjiVG reference whose strokes match the writing, and evaluations with brush writing and more writers remain for future work.

Keywords

Pen-Movement Extraction Stroke Extraction Bézier Curve KanjiVG Least-Squares Fitting Calligraphy Computer Vision

Download Full Article

PDF format

Download PDF

Recommended Citation

Aoi ITOKAWA & Hirokazu MATSUI (2026). Accurate Extraction of Pen-Movement Data from Images of Known Characters. Glovento Journal of Integrated Studies (GJIS), 2, Article 97. https://doi.org/10.68246/gjis.v2.97