need to find the thickness of a segmented image
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Image Analyst
2014-4-28
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!