An adaptive thinning algorithm for sketch images based on Gaussian Scale Space