How can i convert pixels to mm for a specific Dicom Image?
90 views (last 30 days)
Show older comments
Pratik Datta
on 7 May 2015
Commented: nehad mohamed
on 7 Jan 2021
I want to find the length of a pixel in milimeter(mm).
For other images, I can extract it via the'Xresolution','Yresolution','unit' parameters obtained from the 'iminfo'command.
Can 'dicomimfo' give those properties?
Or is there any other way to convert pixels to mm for dicom images?
4 Comments
Walter Roberson
on 7 May 2015
If you are going to tag a specific person (which you should avoid doing) then you need to at least get the name right!
Accepted Answer
Walter Roberson
on 7 May 2015
Use dicominfo() to fetch the PixelSpacing parameter for the image. See this description of computing some of the location information from DICOM files
5 Comments
nehad mohamed
on 7 Jan 2021
I want a tool like a ruler to measure distances in dicom images. In cm. using matlab
More Answers (0)
See Also
Categories
Find more on DICOM Format in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!