Local Natural Scale Based Contour Corner Detection Using Wavelet Transform