April 2, 2007 14:42 World Scientific Review Volume - 9in x 6in Main˙WorldSc˙IPR˙SAB
162 Synthesis and Analysis in Biometrics
create a bitmap version of the signature. This would correspond to simply
drawing lines between adjacent points.
6.2.1. Simple Direct Comparison: Global Relative Distance
Noise is variously described as “random variation” in a signal or as
something unwanted that degrades the quality of signals and data. This
could be describing slight variations in signatures, which could then be
thought of as noise. One standard method for dealing with noisy data
is to average multiple samples. Using multiple raster images, we can
overlay all exemplars and create a single composite image, like the one
in Fig. 6.1. Before superimposition, the signatures would have to be scaled
to a standard size, and then a new image, the mask image, is created by
adding all of these scaled signatures together, assuming that object pixels
are 1 and background is 0.
We could simply look up each pixel in the target image to see if the
corresponding pixel in the mask image was set. A simple similarity measure
is the number of pixel matches, essentially an XOR. This produced very
good results on a small number of images, but showed no better than 76%
success on our larger data set. This was not good enough, but does show
some promise.
Perhaps it would be better to use distances between corresponding
signature pixels rather than simple overlap counts. One possible way do
this on raw signatures would calculate the distance from a black pixel in
one signature to the nearest black pixel in the other. A complete bipartite
pixel match would probably be best, but the cost of doing this would be
prohibitive, and the improvement may not be significant.
In order to compute a distance based on pixels in two images, a common
coordinate system and scale have to be established. The centroid of the
signature is a logical origin for such a coordinate system. Scaling is done
using a bounding box for each signature, matching the box for the exemplar
to the size of the unknown sample while maintaining the aspect ratio of the
exemplar. Since the signatures are stored as line end-points, the scaling is
a simple matter, but if the signatures were bitmaps then accurate scaling
is much harder. In any case there will be some size variation remaining.
Next the distance is calculated using a distance transform.Consider
the signature image S, obtained by drawing the connections between the
sampled pen positions into a bi-level image. The distance transform is an
image D thesamesizeasS in which the value of each pixel D
ij
is the
distance from the pixel S
ij
to the nearest object pixel. The 8-distance was
used, because it is easily possible to compute the entire transform in just two
passes through the image
[
14
]
. The distance E
i
−S foranexemplarimage