How to find out mm on dicom images

8 views (last 30 days)
Stelios Fanourakis
Stelios Fanourakis on 16 Mar 2018
Commented: Walter Roberson on 5 Dec 2022
I want a tool like a ruler to measure distances in dicom images. In mm, not in px.
Or at least, how to find out dicom resolution (dpi) so I can easily convert px to mm?
  1 Comment
Payal
Payal on 5 Dec 2022
hi..
i am finding the answer for the same query.
that is how to find or measure the resolution of the dicom ct slice(images)?
how can these pixel spacing, number of rows or cols, width helps to find the resolution?

Sign in to comment.

Answers (1)

Rik
Rik on 16 Mar 2018
The ReconstructionDiameter field contains the width of your image in mm (at least for CT), PixelSpacing should contain the height and width of your voxels. SliceThickness is the thickness of the slice, but is not the parameter you should use, because the distance between slice centers might not be equal to that (so either an overlap or a gap between slices). I can't find the dicom field name, but you can always calculate it based on the postion fields.
  7 Comments
Rik
Rik on 5 Dec 2022
What information does your dicom file contain? It should contain sufficient information to derive the size of a pixel.
If I recall correctly, the ReconstructionDiameter is a required field, so it should not be missing in a compliant dicom file.
Walter Roberson
Walter Roberson on 5 Dec 2022
pixel spacing is the resolution in the x and y directions, but you need to look at other headers for z resolution.

Sign in to comment.

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!