find sphere in the range of radius in 3D matrix
7 次查看(过去 30 天)
显示 更早的评论
Is there any function like imfindcircles(image,[radius1 radius2]) in 3D? I want detect all object like sphere in range of two radius.
0 个评论
回答(1 个)
Image Analyst
2014-9-12
What I'd do is to binarize your image then label it and call regionprops(). Get things like the volume (area), bounding box, surface area (perimeter), etc. and see which of those is close to the values you'd expect for a perfect sphere..
2 个评论
Image Analyst
2014-9-13
Then calculate the surface area and the volume and compute the sphericity. See Wikipedia for the formula: http://en.wikipedia.org/wiki/Sphericity
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!