6

The objective of skeletonization is to represent a binary image with a minimum set of pixels. The skeleton must account for geometrical properties of the form and retain associative relationships.

My question here is how can I get a skeleton from binary image?

Dima
  • 38,860
  • 14
  • 75
  • 115
Wassim AZIRAR
  • 10,823
  • 38
  • 121
  • 174

2 Answers2

8

One approach is to use BWMORPH.

%# assume your binary image is called binImg
skeleton = bwmorph(binImg,'skel',inf);
Jonas
  • 74,690
  • 10
  • 137
  • 177
0

Medial Axis Transform sounds like what you are looking for.

Dima
  • 38,860
  • 14
  • 75
  • 115