Is there an image processing function to get the skeleton of a binary image in MATLAB

The goal of skeletonization is to represent a binary image with a minimal set of pixels. The skeleton must take into account the geometric properties of the form and preserve associative relations.

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

+6
image-processing matlab morphological-analysis
source share
2 answers

One approach is to use BWMORPH .

%# assume your binary image is called binImg skeleton = bwmorph(binImg,'skel',inf); 
+8
source share

Medial Axis Transform sounds like what you are looking for.

0
source share

All Articles