Figure 3: Representation of the four extracted patches. The
bounding box, with highlighted the left- up vertex point, is
shown for each patch.
computed, and we used this value to perform a first
selection of patches to be classified. Differently
than previous work (Guarneri et al., ICCE 2013), we
don’t need to normalize and rotate each single shape
considering the shape representation described in
Section 2.2. Figure 1 shows the 3D plot of the
capacitance map relative to three contemporary
touches: two fingers and a palm. It should be noticed
that the palm is constituted by two predominant
parts, which are correctly extracted as two patches
by the watershed algorithm. Considering as example
the map reported in Figure 1, after the segmentation
step four patches are extracted: two relative to
fingers and two constituting the palm touch. Figure 2
shows the 2D representation of the map reported in
Figure 1 with over-imposed the labels of the four
extracted patches. After the segmentation step, the
patch is described to recognize the patch 1 and 2 as
fingers whereas the patch 2 and 3 as palm (not
fingers).
2.2 Shape Representation
Each patch can be considered as a group of nodes
with a maximum and the remaining nodes with
lower values. The first feature of the patch relates
the area in terms of number of nodes. Patches
formed by a single node are not processed for the
final recognition. This minimum area size has been
fixed taking into account the resolution and the
sensibility of the used panel, but it can be modified
depending on different hardware settings. The shape
size, in term of nodes number, is used to fix the
minimum finger size. We represent a patch by using
two descriptors, the height and the width of the
bounding box containing the patch. The computation
of the contouring box is based on the comparison of
x and y values of all nodes forming the shape.
Through this fast comparison we compute two
points: the first one having as abscissa the lower x-
value of all expressed nodes and as ordinate, the
minimum y-value of all expressed nodes. The
coordinate pair of the second point is found by
looking for the maxima x and y of all expressed
nodes. Hence, for each box patch we compute its
width, its height, its area and the coordinate pair of
its left-up corner (Figure 3). The area is used as first
filtering: patches too small are excluded for final
recognition. The width and the height are used to
identify a potential finger. The left-up corner,
together with the width and the weight of the
bounding box, are used for the temporal check
described in the Section 2.4. Figure 3 shows the
graphical representation of the four boxes computed
for each patch showed in Figure 2.
2.3 Shape Recognition
The recognition of different classes is performed by
a decision tree (Quinlan, 1993) trained on a set of
capacitive maps manually labeled. The
discrimination is based on the width and height of
the bounding box. In order to have a more effective
classification, a further check is performed to verify
the adjacency between patches. So, width and height
of the boxes are used to discriminate finger from
others. These information are also used to verify if a
patch is overlapping/adjacent with other patches.
This last check is performed by comparing the
intersection of the box contours of all patches and it
is done to verify if a patch is completely isolated
from others or if it is in touch with other patches. In
case of two or more adjacent or overlapped patches,
the presence of a not finger patch forces to be the
classification of all other adjacent patches in the
same class.
Figure 4 shows a map representing a palm touch.
After the segmentation, two bounding boxes have
been extracted. In this case one of the two boxes (the
little/blue one) is a potential finger, as well as it is
verified the overlapping with other non-finger
patches.
Since the bigger/yellow one does not satisfy the
constraints of finger for width and height, it is a
Figure 4: Map showing a palm touch. Two patches have
been extracted. The patches have an overlap and, due to
the fact that one of them is a potential not finger (the
yellow/bigger one), also the other patch (the blue/little
one) is classified as not finger (i.e., a palm).
MultiTouchShapeRecognitionforProjectedCapacitiveTouchScreen
113