Erode and dilate image to build skeleton
image – binary image with 0 or 255
skeleton of a binary image.