A new method using gray-scale morphological erosion is proposed to obt
ain the morphological skeleton of a discrete binary image. The full mo
rphological skeleton is the union of a finite number of skeleton subse
ts. We also show that gray-scale erosion in this method can be replace
d by a simpler operation to further improve computation time. Two effi
cient algorithms,based on the proposed approach are presented.