| 1 |
<html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 |
<title>DTW: Get y time from x time...</title> |
| 3 |
<style> |
| 4 |
td { padding-left: 5pt; padding-right: 5pt; } |
| 5 |
th { padding-left: 5pt; padding-right: 5pt; } |
| 6 |
code { white-space: pre-wrap; } |
| 7 |
dd { white-space: pre-wrap; } |
| 8 |
</style> |
| 9 |
</head><body bgcolor="#FFFFFF"> |
| 10 |
|
| 11 |
<table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 |
DTW: Get y time from x time... |
| 13 |
</b></font></table></table> |
| 14 |
<p>Queries the selected <a href="DTW.html">DTW</a> object for the time along the <i>y</i>-direction given the time along the "<i>x</i>-direction". </p> |
| 15 |
<h2>Setting</h2> |
| 16 |
<dl> |
| 17 |
<dt><b>Time (s)</b> |
| 18 |
<dd>the time along the <i>x</i>-direction.</dd> |
| 19 |
</dl> |
| 20 |
<h2>Behaviour</h2> |
| 21 |
<p>When the <i>input</i> time is in the interval [<i>xmin</i>, <i>xmax</i>], the <i>returned</i> time will be in the interval [<i>ymin</i>, <i>ymax</i>], where [<i>xmin</i>, <i>xmax</i>] and [<i>ymin</i>, <i>ymax</i>] are the domains of the two "objects" from which the DTW-object was constructed.For input times outside the domain we assume that the two object were aligned.</p> |
| 22 |
<p>We like to have a "continuous" interpretation of time for the quantized times in the <i>x</i> and <i>y</i> direction; we make the path a piecewise linear monotonically increasing function. There are special cases:</p> |
| 23 |
<p>1. The local path is in the <i>x</i>-direction only. We calculate the <i>y</i>-time from the line that connects the lower-left position of the begin cell of this path to the upper-right position of the last cell.</p> |
| 24 |
<p>2. The local path is in the x-direction only. We calculate the <i>y</i>-time from the line that connects the lower-left position of lowest cell to the upper-right position of the highest cell.</p> |
| 25 |
<p>3. A cell is both part of a path in the <i>x</i>- and the <i>y</i>-direction. We then calculate the intersection point of the paths in the <i>x</i>- and the <i>y</i>-directions. The <i>y</i>-times in this cell are now calculated from the two line segments that originate from this intersection point.</p> |
| 26 |
<h3>Links to this page</h3> |
| 27 |
<ul> |
| 28 |
<li><a href="DTW__Get_time_along_path___.html">DTW: Get time along path...</a> |
| 29 |
<li><a href="DTW__Get_x_time_from_y_time___.html">DTW: Get x time from y time...</a> |
| 30 |
</ul> |
| 31 |
<hr> |
| 32 |
<address> |
| 33 |
<p>© djmw 20110603</p> |
| 34 |
</address> |
| 35 |
</body> |
| 36 |
</html> |