Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 801
Wassim AZIRAR Avatar asked May 20 '10 16:05

Wassim AZIRAR


1 Answers

One approach is to use BWMORPH.

%# assume your binary image is called binImg
skeleton = bwmorph(binImg,'skel',inf);
like image 110
Jonas Avatar answered Sep 18 '22 12:09

Jonas