# DICOM Export Rounding to Integer Values

**URL:** <https://discourse.slicer.org/t/dicom-export-rounding-to-integer-values/8038>\
**Category:** Support\
**Tags:** dicom, pkmodeling\
**Created:** [August 15, 2019, 1:19am UTC](https://discourse.slicer.org/t/dicom-export-rounding-to-integer-values/8038 "2019-08-15T01:19:08Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![madeline](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@madeline](https://discourse.slicer.org/u/madeline)\
**Post date:** [August 20, 2019, 1:27am UTC](https://discourse.slicer.org/t/dicom-export-rounding-to-integer-values/8038/7 "2019-08-20T01:27:08Z")

</div>

Is there a way to check if you are losing data between Slicer and MATLAB? I found an alternative method using advice given from the [Normalization/calibration - #5 by fedorov](https://discourse.slicer.org/t/normalization-calibration/1420/5) thread , and in particular using the ShiftScaleImageFilter on each of the maps. Since now I know DICOM format only accepts integer values on Slicer, then by scaling each map by 1000 (or to whichever accuracy needed) prior to export, then you can keep the decimal values and just re-scale back within MATLAB easy enough (see image below). Not sure about data-loss in this process though.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/4/d4db66cd74c5c2b0afd6605a68ef3e4ec310ef99.png)

---

_[View the full topic](https://discourse.slicer.org/t/dicom-export-rounding-to-integer-values/8038)._
