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

2

6

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?

Jointless answered 20/5, 2010 at 16:35 Comment(0)
R
8

One approach is to use BWMORPH.

%# assume your binary image is called binImg
skeleton = bwmorph(binImg,'skel',inf);
Radioactive answered 20/5, 2010 at 16:41 Comment(0)
K
0

Medial Axis Transform sounds like what you are looking for.

Kimono answered 20/5, 2010 at 20:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.