开发者

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

开发者 https://www.devze.com 2022-12-30 20:36 出处:网络
The objective of s开发者_StackOverflow社区keletonization is to represent a binary image with a minimum set of pixels. The skeleton must account for geometrical properties of the form and retain associ

The objective of s开发者_StackOverflow社区keletonization 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?


One approach is to use BWMORPH.

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


Medial Axis Transform sounds like what you are looking for.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号