find sphere in the range of radius in 3D matrix
조회 수: 3 (최근 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!