문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top