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.
참고 항목
카테고리
Help Center 및 File Exchange에서 DICOM Format에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!