Having a slice(medical image), how can i find out the radii and area of sphere using region props
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
MoonPie1
am 3 Dez. 2015
Kommentiert: Image Analyst
am 9 Dez. 2015
I have a slice and it contains center points of 4 spheres...The spheres are of different radii.. how can i find the radii and area of each sphere?
1 Kommentar
Image Analyst
am 3 Dez. 2015
Depends on the format. Maybe you can use dicomread(). But somehow you need to get a reader for your data files. I don't have one.
Akzeptierte Antwort
Image Analyst
am 3 Dez. 2015
This is done in my image Segmentation Tutorial with coins. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Just ask regionprops to get the area and 'EquivDiameter'
measurements = regionprops(CC, 'Area', 'EquivDiameter');
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/172312/image.png)
5 Kommentare
Image Analyst
am 9 Dez. 2015
- My demo shows you how to select certain blobs based on some criteria like area. Did you see that code?
- I'm not sure what you're asking. What is "4 values of connected components". I show you how to get the connected components, labeled image and display it in both grayscale and with different colors for each individual blob. What do you want and why isn't my code doing it?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Read, Write, and Modify Image finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!