How to calculate actual size of an object in a dicom image?
33 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Image Analyst
2019-3-30
Hopefully there is something in your dicom header that gives the spatial calibration in real world units per pixel.
4 个评论
Image Analyst
2019-3-30
No, more like
area_in_mm = area * PixelSpacing.xvalue * PixelSpacing.yvalue;
更多回答(2 个)
nehad mohamed
2021-1-7
I want a tool like a ruler to measure distances in dicom images. In cm. using matlab
9 个评论
Image Analyst
2021-1-9
编辑:Image Analyst
2021-1-9
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.
nehad mohamed
2021-1-10
2 个评论
nehad mohamed
2021-1-10
编辑:nehad mohamed
2021-1-10
this my error and my code
iwant tools like ruler to measure distance and save this distance in excel sheet
Image Analyst
2021-1-10
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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!