Affine Contour Matching based on Multiwavelets