# Rescale type attribute when creating DICOM series

**URL:** <https://discourse.slicer.org/t/rescale-type-attribute-when-creating-dicom-series/3399>\
**Category:** Support\
**Tags:** dicom\
**Created:** [July 6, 2018, 11:51am UTC](https://discourse.slicer.org/t/rescale-type-attribute-when-creating-dicom-series/3399 "2018-07-06T11:51:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![awagner](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@awagner](https://discourse.slicer.org/u/awagner)\
**Post date:** [July 6, 2018, 11:51am UTC](https://discourse.slicer.org/t/rescale-type-attribute-when-creating-dicom-series/3399/1 "2018-07-06T11:51:21Z")

</div>

Hello,

I’m using Slicer to create a downsampled CT series, and I was able to do that just fine, except that it appears the “Rescale type” attribute was changed from HU to US. Due to that I cannot export the images anymore in the other program I’m using (Treatment Planning Station).

Is there any way to keep this attribute unchanged, or to revert it back to its original value ?

Thanks !

Antoine

---

<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:** [July 6, 2018, 8:34pm UTC](https://discourse.slicer.org/t/rescale-type-attribute-when-creating-dicom-series/3399/2 "2018-07-06T20:34:23Z")

</div>

Good question - I guess you mean [this attribute](https://dicom.innolitics.com/ciods/ct-image/ct-image/00281054). I don’t know that we have any easy want to control for that right now.

Probably the best I can suggest would be to write a small loop using pydicom or directly use dcmodify to change the tag in each file.

---

<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:** [July 6, 2018, 9:06pm UTC](https://discourse.slicer.org/t/rescale-type-attribute-when-creating-dicom-series/3399/3 "2018-07-06T21:06:59Z")

</div>

There are a couple of ways to export DICOM series from Slicer. What method do you use?

---

<div class="post-metadata">

**Author:** ![awagner](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@awagner](https://discourse.slicer.org/u/awagner)\
**Post date:** [July 9, 2018, 7:44am UTC](https://discourse.slicer.org/t/rescale-type-attribute-when-creating-dicom-series/3399/4 "2018-07-09T07:44:17Z")

</div>

Hi,

Thanks Steve, yes this is the attribute (0028,1054). I’m not familiar with pydicom but I’ll give it a try. In the meantime I was able to do it on another program (Dicomworks) but it would ne nice and easier to do it from Slicer.

Andras, to export I simply go to the data menu to display the subject hierarchy, then right-click the volume and select “Export to Dicom…”

---

<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:** [July 9, 2018, 7:18pm UTC](https://discourse.slicer.org/t/rescale-type-attribute-when-creating-dicom-series/3399/5 "2018-07-09T19:18:28Z")

</div>

@gcsharp @cpinter Do you know if there is a reason why rescale type is set to US during DICOM export? Could the value be changed to HU?
