find sphere in the range of radius in 3D matrix

9 visualizaciones (últimos 30 días)
Erfaneh
Erfaneh el 12 de Sept. de 2014
Comentada: Image Analyst el 13 de Sept. de 2014
Is there any function like imfindcircles(image,[radius1 radius2]) in 3D? I want detect all object like sphere in range of two radius.

Respuestas (1)

Image Analyst
Image Analyst el 12 de Sept. de 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 comentarios
Erfaneh
Erfaneh el 12 de Sept. de 2014
I did this job that you said before. I keep all objects that they have the range of volume. but in my binary matrix remain some objects that they are in the range with different shape. I want to keep just the object that it like a sphere.
Image Analyst
Image Analyst el 13 de Sept. de 2014
Then calculate the surface area and the volume and compute the sphericity. See Wikipedia for the formula: http://en.wikipedia.org/wiki/Sphericity

Iniciar sesión para comentar.

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by