# DICOM image size

**URL:** <https://discourse.slicer.org/t/dicom-image-size/10069>\
**Category:** Support\
**Created:** [February 2, 2020, 12:06pm UTC](https://discourse.slicer.org/t/dicom-image-size/10069 "2020-02-02T12:06:56Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramya\_C](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ramya_c/32/4240_2.png) [@Ramya\_C](https://discourse.slicer.org/u/Ramya_C)\
**Post date:** [February 2, 2020, 12:06pm UTC](https://discourse.slicer.org/t/dicom-image-size/10069/1 "2020-02-02T12:06:57Z")

</div>

Is there a way to check the DICOM image size (dimensions, length) in 3D slicer ?

May I know how to do it.  
Thanks

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [February 2, 2020, 2:52pm UTC](https://discourse.slicer.org/t/dicom-image-size/10069/2 "2020-02-02T14:52:49Z")

</div>

Before loading you can right click in the DICOM browser and look at the header (metadata). Or after loading you can look at the Volume Information section of the Volumes module.

---

<div class="post-metadata">

**Author:** ![Ramya\_C](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ramya_c/32/4240_2.png) [@Ramya\_C](https://discourse.slicer.org/u/Ramya_C)\
**Post date:** [February 3, 2020, 12:19am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/3 "2020-02-03T00:19:25Z")

</div>

Thanks for reply.  
However when I print the 3D model, the output model dimension seems to be small than the DICOM image size.  
May I know what could be the issue ?

---

<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:** [February 3, 2020, 2:30am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/4 "2020-02-03T02:30:43Z")

</div>

Did you import the images into Slicer directly from DICOM? What imaging modality was it (CT, MRI, CBCT, microCT, ultrasound, …)?

When you imported the STL file into your 3D printing software, did you set millimeter as length unit in the file?

---

<div class="post-metadata">

**Author:** ![Ramya\_C](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ramya_c/32/4240_2.png) [@Ramya\_C](https://discourse.slicer.org/u/Ramya_C)\
**Post date:** [February 3, 2020, 3:02am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/5 "2020-02-03T03:02:38Z")

</div>

Yes I tried to import the images from DICOM.  
It was CT imaging modality.  
The final 3D printed output seems to be 20% less than actual image size.

---

<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:** [February 3, 2020, 3:19am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/6 "2020-02-03T03:19:24Z")

</div>

If you measure some length on the object in Slicer (using line or ruler tool) does the displayed value correspond to the correct physical size or to the size of the 3D-printed object?

---

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [February 3, 2020, 4:25am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/7 "2020-02-03T04:25:55Z")

</div>

I really agree with lassoan. And which software was used to slice the stl to gcode. You should check the each step from 3d construction to the last printing model.

---

<div class="post-metadata">

**Author:** ![Ramya\_C](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ramya_c/32/4240_2.png) [@Ramya\_C](https://discourse.slicer.org/u/Ramya_C)\
**Post date:** [February 3, 2020, 4:49am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/8 "2020-02-03T04:49:14Z")

</div>

Thank you for all replies.  
I measured the physical size of specimen to 3D printed object. There is a difference of 20% in the 3d printed when compared to origin object.  
I have been using magics and 3D slicer to create STL files.  
However, we are not sure how come the object is reduced in size when it is printed.

---

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [February 3, 2020, 5:17am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/9 "2020-02-03T05:17:32Z")

</div>

What is the last size of the file before slice(printer software)?

The printer software maybe changed the scale automatic when the model is larger than the boundary of the max printing area.

---

<div class="post-metadata">

**Author:** ![Ramya\_C](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ramya_c/32/4240_2.png) [@Ramya\_C](https://discourse.slicer.org/u/Ramya_C)\
**Post date:** [February 3, 2020, 5:53am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/10 "2020-02-03T05:53:43Z")

</div>

Can you help me to check this.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/8/7801a248624e408cc83e41d86f161993e81ff95b.png)  
Is the image origin indicate the dimension of the DICOM image ?  
How to calculate image dimension here ?

---

<div class="post-metadata">

**Author:** ![Ramya\_C](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ramya_c/32/4240_2.png) [@Ramya\_C](https://discourse.slicer.org/u/Ramya_C)\
**Post date:** [February 3, 2020, 5:54am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/11 "2020-02-03T05:54:00Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/8/7801a248624e408cc83e41d86f161993e81ff95b.png)  
Is the image origin indicate the dimension of the DICOM image ?  
How to calculate image dimension here ?

---

<div class="post-metadata">

**Author:** ![Juicy](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@Juicy](https://discourse.slicer.org/u/Juicy)\
**Post date:** [February 3, 2020, 7:24am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/12 "2020-02-03T07:24:57Z")

</div>

The values above look reasonable to me. Although to be sure you would need to compare them to the DICOM metadata.

The Axial images are 512x512 pixels and each pixel is 0.4746mm x 0.4746mm so the size of the image should be 243mm x 243mm (512 x 0.4746 = 243mm).

The slice spacing is 0.6mm and there are 427 images so the volume should be 0.6 x 427mm = 256mm in the superior - inferior direction.

But to keep things simple you should follow what lassoan said earlier and you should measure between two points on the model in slicer and see if this matches the 3d printed model. If the measurements in slicer are what you would expect but the 3d printed model is still smaller then the problem isnt in slicer, it must be something downstream like a scaling issue in the 3d printer software etc.

---

<div class="post-metadata">

**Author:** ![Ramya\_C](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ramya_c/32/4240_2.png) [@Ramya\_C](https://discourse.slicer.org/u/Ramya_C)\
**Post date:** [February 4, 2020, 12:41am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/13 "2020-02-04T00:41:26Z")

</div>

Thanks all for the replies.  
However I checked wit the 3d printer settings, we havenot done any scaling down before we print.  
The issue is the files created in STL format using 3D slicer has somehow shrink the dimension to 18cm. The original dimension is 24.2 cm.So we are not sure how the shrinking or size reduction happen.

The image dimensions after segmentation is 24.2cm which is same as the dimension of DICOM file. However the images in the STL file is 18cm, which is lesser compared to original. Is there anything that has caused the image shrink ?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [February 4, 2020, 12:59am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/14 "2020-02-04T00:59:22Z")

</div>

I don’t know of anything that would cause that behavior.

Are you able to replicate the issue on public data? If so can you post the exact steps?

---

<div class="post-metadata">

**Author:** ![Ramya\_C](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ramya_c/32/4240_2.png) [@Ramya\_C](https://discourse.slicer.org/u/Ramya_C)\
**Post date:** [February 4, 2020, 1:43am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/15 "2020-02-04T01:43:17Z")

</div>

[quote=“Ramya\_C, post:13, topic:10069, full:true”]  
Thanks all for the replies.  
However I checked wit the 3d printer settings, we havenot done any scaling down before we print.  
Thanks all for the replies.  
However I checked wit the 3d printer settings, we havenot done any scaling down before we print.  
The issue is the files created in STL format using 3D slicer has somehow shrink the dimension to 18cm. The original dimension is 24.2 cm.So we are not sure how the shrinking or size reduction happen.

The image dimensions after segmentation is 24.2cm which is same as the dimension of DICOM file. However the images in the STL file is 18cm, which is lesser compared to original. Is there anything that has caused the image shrink ?

---

<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:** [February 4, 2020, 2:10am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/16 "2020-02-04T02:10:21Z")

</div>

In the˝Export segment to files" window, did you change the “Size scale” value from the original 1.0? If you load the exported STL file back into Slicer, is its size correct? If you load the STL file into MeshLab and measure it there, is the size correct?

---

<div class="post-metadata">

**Author:** ![JanWitowski](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/janwitowski/32/4512_2.png) [@JanWitowski](https://discourse.slicer.org/u/JanWitowski)\
**Post date:** [February 4, 2020, 4:10pm UTC](https://discourse.slicer.org/t/dicom-image-size/10069/17 "2020-02-04T16:10:02Z")

</div>

Also, is there any way you could share your source image, segmentation .seg.nrrd file and exported STL for us to replicate the segmentation/export part?

---

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [February 5, 2020, 5:47am UTC](https://discourse.slicer.org/t/dicom-image-size/10069/18 "2020-02-05T05:47:12Z")

</div>

Can you update the DICOM?
