HOW TO FIND THE DIAMETER FOR THE IRREGULAR SHAPE OF AN IMAGE
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I NEED TO FIND THE DIAMETER OF THE IRREGULAR SHAPE OF AN IMAGE?
0 comentarios
Respuestas (2)
David Legland
el 8 de Oct. de 2012
Hi,
in the image processing toolbox there is a function "regionprops" that gives you the equivalent diameter of a particle. You can also access the major axis length of the inertia ellipse, that is a useful feature.
You can also consider Feret diameter, but you need to search on the FEx.
regards, David
0 comentarios
Image Analyst
el 8 de Oct. de 2012
Editada: Image Analyst
el 8 de Oct. de 2012
See my Image Segmentation Tutorial at http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862. The function regionprops has a measurement "EquivDiameter" that you can ask for. It's basically sqrt(4*Area/pi) which is what you get for the diameter if you assume a circle of the same area as your blob.
1 comentario
Ver también
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!