[Paper Review] A Compact Graph Model of Handwritten Images: Integration into Authentification and Recognition
This paper proposes a compact graph model for handwritten images that reduces storage by representing contours as minimal graphs with chain-code descriptors and run-length compression, achieving 10–20x compression on signatures and 5–12x on handwritten text, while enabling efficient recognition and authentication with a 5.9% error rate on MNIST numerals.
A novel algorithm for creating a mathematical model of curved shapes is introduced. The core of the algorithm is based on building a graph representation of the contoured image, which occupies less storage space than produced by raster compression techniques. Different advanced applications of the mathematical model are discussed: recognition of handwritten characters and verification of handwritten text and signatures for authentification purposes. Reducing the storage requirements due to the efficient mathematical model results in faster retrieval and processing times. The experimental outcomes in compression of contoured images and recognition of handwritten numerals are given.
Motivation & Objective
- To develop a mathematical model that compactly represents handwritten contours for efficient storage and processing.
- To reduce storage requirements for scanned handwritten images, especially signatures and text, beyond traditional raster compression.
- To enable automatic verification and recognition of handwritten characters and signatures using structural features from the graph model.
- To support fast retrieval and processing by minimizing graph representation while preserving essential shape features.
- To integrate the model into authentication systems for secure document verification and personal identification.
Proposed method
- Apply image thinning using a modified Naccache-Shinghal algorithm to reduce contours to single-pixel skeletons.
- Represent the thinned image as a graph using node and branch descriptors: nodes are endpoints (index 1), line points (2), and junctions/crossings (3,4), with Freeman chain codes for branch directions.
- Perform shape smoothing to eliminate false nodes and broken contours by merging adjacent branches and removing spurious nodes.
- Minimize the graph by traversing and covering all nodes and branches in a lossless manner, reducing structural complexity.
- Compress branch descriptions using relative coordinates (-1, 0, 1) and modified run-length encoding to reduce bit length from 8L to ~1.6L bits per chain.
- Reconstruct images by traversing the graph and converting vector branches back into bitmaps, allowing approximate but semantically valid reproduction.
Experimental results
Research questions
- RQ1Can a graph-based mathematical model achieve significantly better compression than raster-based methods for handwritten images?
- RQ2To what extent can the graph model preserve invariant features for recognition and authentication despite geometric variations?
- RQ3How effective is the graph model in supporting automatic recognition of handwritten numerals with minimal distortion?
- RQ4Can the model be extended to support probabilistic modeling of handwriting features for enhanced authentication?
- RQ5What is the impact of lossy reconstruction on the accuracy of signature and handwriting verification tasks?
Key findings
- The proposed algorithm achieved a compression ratio of 10–20x for handwritten signatures, 5–12x for handwritten text, and 8–17x for curved shapes.
- For a handwritten text image of 1962 bytes in BMP format, the method compressed it to 154 bytes, outperforming ZIP (701 bytes) by a factor of 4.3.
- The contour compression reduced bit length from 8L to approximately 1.6L per chain, enabling significant space savings through relative coordinate encoding.
- The graph minimization process reduced the number of nodes from eight to two in one example, demonstrating structural simplification without loss of essential topology.
- The recognition algorithm based on 20 invariant features (e.g., relative distances, loop counts) achieved a 5.9% error rate on the MNIST database.
- Image reconstruction using the model produced visually acceptable approximations, with minimal impact on authenticity verification and recognition tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.