1. A method for performing curve matching between a target discrete curve and a template discrete curve, the method comprising: mapping a template discrete curve to a mapped template discrete curve using a mapping operator; performing curve matching on a target discrete curve and the mapped template discrete curve, wherein said performing curve matching computes a distance for the target discrete curve relative to the mapped template discrete curve; and generating curve matching results based on the distances.