How to calculate actual size of an object in a dicom image?
42 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Sparkle89
il 30 Mar 2019
Modificato: nehad mohamed
il 10 Gen 2021
I have a dicom image of CT scan. Regionprops returns area in pixels. Is there any other way in Matlab to get the actual sizein cms/mms?
0 Commenti
Risposta accettata
Image Analyst
il 30 Mar 2019
Hopefully there is something in your dicom header that gives the spatial calibration in real world units per pixel.
4 Commenti
Image Analyst
il 30 Mar 2019
No, more like
area_in_mm = area * PixelSpacing.xvalue * PixelSpacing.yvalue;
Più risposte (2)
nehad mohamed
il 7 Gen 2021
I want a tool like a ruler to measure distances in dicom images. In cm. using matlab
9 Commenti
Image Analyst
il 9 Gen 2021
Modificato: Image Analyst
il 9 Gen 2021
nehad, it looks to me like you totally ignored my comment when I asked you to read this link:
Your last comment proves that. So after you read that, start your own discussion thread since this is not an official Answer to Sparkle89's question, and we don't want to be sending them emails with every post about this non-Answer.
Walter Roberson
il 9 Gen 2021
Take. A. Picture. Of. The. Error. Message. And. Attach. The. Picture. 🥺
nehad mohamed
il 10 Gen 2021
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/483853/image.png)
2 Commenti
nehad mohamed
il 10 Gen 2021
Modificato: nehad mohamed
il 10 Gen 2021
this my error and my code
iwant tools like ruler to measure distance and save this distance in excel sheet
Image Analyst
il 10 Gen 2021
Again:
nehad, it looks to me like you totally ignored my comment when I asked you to read this link:
Your last comment proves that. So after you read that, start your own discussion thread since this is not an official Answer to Sparkle89's question, and we don't want to be sending them emails with every post about this non-Answer.
If you want, you can put a link to your new thread back here. That's all.
Vedere anche
Categorie
Scopri di più su DICOM Format in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!