One of the problems that face the user is how to deal with images that contain a huge number of curves. The appearance of these curves in thick lines makes the recognizing and the counting of these curves difficult. Also storing the data of these curves may need a large storage spaces. So we use thinning, where thinning is used now as a basic step in analyzing the shape of lines and curves in digital images. This research offers a method for following the curves from the start point till the end, giving a different color to each curve and during the passing over the pixels of the curve, a thinning is made by erasing the unnecessary pixels, keeping all the characteristics of the curve with a minimum number of pixels. We could recognize the number of curves by the number of colors appear in the final image. All the images used in this research are in black and white.