Using gaussian filter to smooth mouse-drawn contours