# Unrealistic measurement using Ruler tool

**URL:** <https://discourse.slicer.org/t/unrealistic-measurement-using-ruler-tool/22592>\
**Category:** Support\
**Tags:** dicom\
**Created:** [March 19, 2022, 12:05am UTC](https://discourse.slicer.org/t/unrealistic-measurement-using-ruler-tool/22592 "2022-03-19T00:05:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diana\_Song](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/diana_song/32/14713_2.png) [@Diana\_Song](https://discourse.slicer.org/u/Diana_Song)\
**Post date:** [March 19, 2022, 12:05am UTC](https://discourse.slicer.org/t/unrealistic-measurement-using-ruler-tool/22592/1 "2022-03-19T00:05:38Z")

</div>

Hello,  
I’m still very new to 3D slicer, and am trying to use the ruler tool to measure the size of the lymph nodes on 2D breast mammograms. The measurements were unrealistically large (like 100-500mm +, which is 10 cms). I’m wondering if there’s anything I did wrong. The mammograms are from a public dataset and are digitalized film mammograms.

Many thanks,  
Diana

---

<div class="post-metadata">

**Author:** ![ebrahim](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ebrahim/32/13403_2.png) [@ebrahim](https://discourse.slicer.org/u/ebrahim)\
**Post date:** [March 19, 2022, 1:29am UTC](https://discourse.slicer.org/t/unrealistic-measurement-using-ruler-tool/22592/2 "2022-03-19T01:29:14Z")

</div>

It sounds like a problem with image spacing. If you right click on the volume node and click on “Edit Properties” then this will take you to the Volumes module. There you can expand the “Volume Information” and inspect the spacing.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/a/7ac4775f5a8fc418f9f35f22f89389f58082bba5.png)

---

<div class="post-metadata">

**Author:** ![Diana\_Song](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/diana_song/32/14713_2.png) [@Diana\_Song](https://discourse.slicer.org/u/Diana_Song)\
**Post date:** [March 22, 2022, 1:49am UTC](https://discourse.slicer.org/t/unrealistic-measurement-using-ruler-tool/22592/4 "2022-03-22T01:49:20Z")

</div>

Hi Ebrahim,

Thank you so much for the direction. I checked the volume information and they are all 0mm in the image origin. Does this look odd to you? Is there a way to look up how to modify any of these to get the correct spacing?

 ![Screen Shot 2022-03-21 at 9.44.55 PM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/a/0ad3e01920661ebfae81189b8ab92413e48b7e33.jpeg)

Many thanks!

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 22, 2022, 3:01am UTC](https://discourse.slicer.org/t/unrealistic-measurement-using-ruler-tool/22592/5 "2022-03-22T03:01:24Z")

</div>

It is the image spacing tab you need to pay attention to. It is reporting 1mm for each axis. I am not familiar with US modality to know whether that’s too large or not.

---

<div class="post-metadata">

**Author:** ![Diana\_Song](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/diana_song/32/14713_2.png) [@Diana\_Song](https://discourse.slicer.org/u/Diana_Song)\
**Post date:** [March 22, 2022, 2:16pm UTC](https://discourse.slicer.org/t/unrealistic-measurement-using-ruler-tool/22592/6 "2022-03-22T14:16:56Z")

</div>

Thank you for helping!  
It turns out the DICOM file didn’t have the information on the image spacing so Slicer is using the default of 1mm I guess.

---

<div class="post-metadata">

**Author:** ![DIV](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/div/32/12816_2.png) [@DIV](https://discourse.slicer.org/u/DIV)\
**Post date:** [March 24, 2022, 3:32am UTC](https://discourse.slicer.org/t/unrealistic-measurement-using-ruler-tool/22592/7 "2022-03-24T03:32:27Z")

</div>

> [@Diana\_Song](#):
>
> mammograms are from a public dataset

To confirm the issue, you could also consider posting a link or a sample.  
—DIV

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 25, 2022, 10:37pm UTC](https://discourse.slicer.org/t/unrealistic-measurement-using-ruler-tool/22592/8 "2022-03-25T22:37:40Z")

</div>

Pixel spacing cannot be defined for images that are acquired with a cone-beam projection (such as a mammogram, which is acquired by single X-ray point source and a planar detector), because the spacing depends on distance from the source. Objects that are closer to the generator will appear larger.

If the image contains source to image distance, detector size, and source to object distance then you can compute some approximate spacing. If you need more accurate spacing then you need to have a calibration object (any object of known physical size) in approximately the same image plane as your object that you want to measure.

Still, the measurements may be inaccurate due to foreshortening: an elongated object may be actually longer than it looks in the projection image if it is not parallel to the image plane.

Moreover, mammograms are also most often acquired with strong tissue compression, which unpredictably deforms tissues depending on their stiffness.

For accurate size measurements you would need to use DBT, MRI, or CT imaging instead of simple 2D mammograms.
