It computes the skeleton of a given binary imagewith black background.
y = skeleton(x)
A binary matrix in 0 and 1 representing a binary image.
A binary matrix representing the skeleton of the input binary image.
It computes the skeleton of a given binary image. The input binary image must have black background for proper generation of skeleton image. The generated skeleton image in binary has black background.