On the dynamic time warping for computing the dissimilarities between curves