DTW: Get distance (weighted)

Queries the selected DTW object for the weighted distance along the minimum path.


If the distance matrix has nx cells along the x-direction, ny cells along the y-direction and the sum of the distances along the minimum path is S, the weighted distance is given by S/(nx+ny).

© djmw, June 28, 2010