April 2, 2007 14:42 World Scientific Review Volume - 9in x 6in Main˙WorldSc˙IPR˙SAB
Composite Systems for Handwritten Signature Recognition 169
We use a shadow mask configuration consisting of a constant number of
sampling squares, (where a sampling square consists of top, bottom, right,
left, and two diagonal shadow mask bars at 45 and −45 degrees) arranged
in n rows and m columns, where each square of size P × Q pixels. This
configuration covers the entire image area. A feature vector is made for
each image in which each “feature” of the feature vector is a count of the
number of pixels representing the shadow that is cast onto each of the bars
(cast from the center outward) that make up the sampling box. Because
the sampling boxes are configured such that they touch one another at the
borders, the feature vector stores only 4 of the 6 shadow mask bars making
up a single sampling box. This means that most of the bars will be shared
with another sampling box, and storing all 6 bars would be redundant.
In total, the feature vector contains 4 × m × n + m + n features.
Once feature vectors have been computed for each image in the database,
the usual nearest neighbor Euclideandistance calculation is made when
classifying a feature vector.
While the algorithm was neither scale- nor rotation-invariant, it was
made somewhat translation-invariant by computing the “hyper-centre of
inertia”, essentially the centroid, of each signature. This was then used to
translate the signature to the center of the image prior to the casting of
shadows. In this way the signatures of the same person would overlap each
other more readily, assuming they were all placed one on top of another,
even though they may not line up the same way with the boundaries of the
sampling boxes.
The reported accuracy of the aforementioned signature verification
method is extremely high, in the 98–99% range, and thus bears further
investigation. Our implementation of the algorithm was tested on a
database of genuine signatures (black and white in pbm format) and, using
a leave-one-out method, keeps track of the percentage of signatures that
are correctly classified. We should mention that our work has identified a
minor flaw in the original shadow mask implementation in that it appears
to use scale, or the signature size, as a feature. We corrected this in our
own implementation, which may have affected the measured success rates
[
18
]
.
6.4.3. Intermediate Results
We tested our version on 11 sets of signatures, for a total of 539 images.
Each set, at one time, contained 50 signatures each. However, some had
to be removed due to problematic data (e.g. an image consisting of all
background). These signatures were relatively constant in terms of size
and orientation. That is, signatures belonging to the same set were similar