10.08.2013 Views

Bachelor Thesis - Computer Graphics Group

Bachelor Thesis - Computer Graphics Group

Bachelor Thesis - Computer Graphics Group

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

measure, we get K nearest objects. The samples are grouped according to the<br />

corresponding gesture pattern. The winner is the pattern with more than half<br />

of the nearest samples. In case there is no winner, the recognition is reported<br />

to be unsuccessful.<br />

The distance measure will be calculated as the sum of Euclidean distances of<br />

the corresponding points. To make the coordinates comparable, the shapes of<br />

the gesture as well as all the pattern samples have to be normalized to the<br />

same coordinate space after the preprocessing phase. The geometric center<br />

of the shape will be in the middle of the coordinate space. An example of a<br />

normalized shape can be seen in figure 2.5.<br />

0.0 x 0.0<br />

1.0 x 1.0<br />

Figure 2.5: Normalized shape example<br />

The results of the algorithm depend on the value of K. If the number of<br />

samples per pattern is the same, there is no problem. However, when it is not,<br />

the K has to be calculated somehow. We will use the most frequent number<br />

of pattern samples. Patterns, which do not contain the required number of<br />

samples, will not be recognized. On the other hand, the patterns containing<br />

at least the sufficient number of patterns, will only use the first K patterns.<br />

The other possible solution would be to take the minimum number of pattern<br />

samples. However, this would handicap “well behaved” patterns.<br />

15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!