find sphere in the range of radius in 3D matrix
4 views (last 30 days)
Show older comments
Is there any function like imfindcircles(image,[radius1 radius2]) in 3D? I want detect all object like sphere in range of two radius.
0 Comments
Answers (1)
Image Analyst
on 12 Sep 2014
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 Comments
Image Analyst
on 13 Sep 2014
Then calculate the surface area and the volume and compute the sphericity. See Wikipedia for the formula: http://en.wikipedia.org/wiki/Sphericity
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!