Is there an image processing function to get a skeleton of a binary image in MATLAB
-
03-10-2019 - |
Question
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?
Solution
One approach is to use BWMORPH.
%# assume your binary image is called binImg
skeleton = bwmorph(binImg,'skel',inf);
OTHER TIPS
Medial Axis Transform sounds like what you are looking for.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow