Curve Matching, Time Warping, and Light Fields: New Algorithms for Computing Similarity between Curves