
Queries the selected DTW object for the time along the ydirection given the time along the "xdirection".
When the input time is in the interval [xmin, xmax], the returned time will be in the interval [ymin, ymax], where [xmin, xmax] and [ymin, ymax] are the domains of the two "objects" from which the DTWobject was constructed.For input times outside the domain we assume that the two object were aligned.
We like to have a "continuous" interpretation of time for the quantized times in the x and y direction; we make the path a piecewise linear monotonically increasing function. There are special cases:
1. The local path is in the xdirection only. We calculate the ytime from the line that connects the lowerleft position of the begin cell of this path to the upperright position of the last cell.
2. The local path is in the xdirection only. We calculate the ytime from the line that connects the lowerleft position of lowest cell to the upperright position of the highest cell.
3. A cell is both part of a path in the x and the ydirection. We then calculate the intersection point of the paths in the x and the ydirections. The ytimes in this cell are now calculated from the two line segments that originate from this intersection point.
© djmw 20110603