Measuring the size of regions in an image
Mostrar comentarios más antiguos
Say that there are some regions I'm interested in in some image. How can I measure the size of such regions in MATLAB?
Thanks.
Respuestas (2)
Walter Roberson
el 18 de Dic. de 2013
0 votos
Use the Image Processing Toolbox with the regionprops() function.
Note: the result will be in square pixels. To convert the square pixels to a physical area, you will need information about the relationship between pixels and physical distance for that image.
2 comentarios
med-sweng
el 19 de Dic. de 2013
Image Analyst
el 19 de Dic. de 2013
If you have also measured the centroids you can put a number over each blob. See my blobsdemo in my File Exchange for a demo of that.
Image Analyst
el 18 de Dic. de 2013
0 votos
See my Image Segmentation Tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862.
Also see attached spatial calibration demo, below in blue text.
3 comentarios
med-sweng
el 19 de Dic. de 2013
med-sweng
el 19 de Dic. de 2013
Image Analyst
el 19 de Dic. de 2013
You did not draw the area or length correctly. If you want, run psr.exe (from Windows) and record your screen movements so I can see what you did wrong.
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!