find sphere in the range of radius in 3D matrix
16 ビュー (過去 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
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!