sentences:  Thinning or skeletonization produces binary images which consist of pixel-wide lines.The branchpoints and endpoints can then be extracted, and the image converted to a graph.This is important in image recognition, for example in optical character recognition.