08.01.2013 Views

2008 Final Year Project – 1st Term Report - The Chinese University ...

2008 Final Year Project – 1st Term Report - The Chinese University ...

2008 Final Year Project – 1st Term Report - The Chinese University ...

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.

3.5.3.3 WHY DYNAMIC TIME WARPING?<br />

Department of Computer Science and Engineering, CUHK<br />

2007 <strong>–</strong> <strong>2008</strong> <strong>Final</strong> <strong>Year</strong> <strong>Project</strong> <strong>–</strong> <strong>1st</strong> <strong>Term</strong> <strong>Report</strong><br />

When compared to Euclidean Distance algorithm, Dynamic Time Warping allows<br />

non-linear mapping, thus non-linear variations on time or speed can be overcome. We<br />

illustrate the advantage of Dynamic Time Warping with an example below.<br />

Fig. 3.13 Comparisons between Euclidean Distance algorithm (graph A) and<br />

Dynamic Time Warping (graph B) [11]<br />

<strong>The</strong> figure above shows how a stored curve (the curve on top) is compared with<br />

the input curve. Obviously 2 curves are doing the same thing. However, in the stored<br />

curve, the 4 crests occur consecutively; while in the input curve, 2 crests occur first,<br />

and then followed by a short period of rest, and another 2 crests occur.<br />

As shown in graph A, if Euclidean Distance algorithm is used, the errors will be<br />

large due to appearance of crests at different time. On the other hand, if Dynamic Time<br />

Warping is used, the time difference in the occurrence of crests can be overcome since<br />

one point can map to multiple points. That means crests at the one curve are mapped<br />

to corresponding crests at the other curve. <strong>The</strong> computed error will then be much<br />

smaller, and thus the input can then be classified at a higher accuracy.<br />

LYU0702 Legendary of 18 Weapons - Motion Capture Data Analysis for Wii Remote Page 45 / 77<br />

(A)<br />

(B)

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

Saved successfully!

Ooh no, something went wrong!