How can i convert pixels to mm for a specific Dicom Image?

87 views (last 30 days)
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
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!

Sign in to comment.

Accepted Answer

Walter Roberson
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
Neda
Neda on 20 May 2019
Edited: Neda on 20 May 2019
I was wondering how can I convert pixel to the mm while my image is a mat file (uint 8). For example, I have a kernel size of 11 * 11 and another one a kernel size of 21 * 21, and I need to know what is equivalent of these sizes in mm?
nehad mohamed
nehad mohamed on 7 Jan 2021
I want a tool like a ruler to measure distances in dicom images. In cm. using matlab

Sign in to comment.

More Answers (0)

Categories

Find more on DICOM Format in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!