need to find the thickness of a segmented image
1 view (last 30 days)
Show older comments
i have an image which is irregular in shape , i need to find the thickness of the black portion specified in this image.i found an answer, i.e area/perimeter of that portion gives the mean width or thickness of the region. Is that true? is there any other way to calculate the thickness?
0 Comments
Answers (1)
Image Analyst
on 28 Apr 2014
That's one way to do it that works best for skinny regions. The thickness will vary depending on how wide the region is and how tortuous the boundary is. You could also look at taking the alpha shape with activecontour (demo attached) to get a smoother object, then skeletonizing it with bwmorph, though that will shorten the ends. Or you could take perpendicular cross sections along the skeleton using improfile. The width is not so precisely defined for an irregular blob like yours so you can pretty much make up your own definition - whatever works for you.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!