# Import DICOM files problem

**URL:** <https://discourse.slicer.org/t/import-dicom-files-problem/5301>\
**Category:** Support\
**Tags:** dicom\
**Created:** [January 7, 2019, 3:31pm UTC](https://discourse.slicer.org/t/import-dicom-files-problem/5301 "2019-01-07T15:31:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Thomas](https://discourse.slicer.org/u/Thomas)\
**Post date:** [January 7, 2019, 3:31pm UTC](https://discourse.slicer.org/t/import-dicom-files-problem/5301/1 "2019-01-07T15:31:31Z")

</div>

Hello. I have problem with importing data to 3D Slicer. I can see how my data is importing slice by slice, but when the loading is 100% there is just one transversal slice and I can’t work with it as a stack. I already read FAQ\DICOM, but still don’t now. Thank you for your advices.

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [January 7, 2019, 4:22pm UTC](https://discourse.slicer.org/t/import-dicom-files-problem/5301/2 "2019-01-07T16:22:01Z")

</div>

Did you use the DICOM browser (import -\> load)?

FYI besides the FAQ, there is an actual module wiki page too: [https://www.slicer.org/wiki/Documentation/Nightly/Modules/DICOM](https://www.slicer.org/wiki/Documentation/Nightly/Modules/DICOM)

---

<div class="post-metadata">

**Author:** ![Thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Thomas](https://discourse.slicer.org/u/Thomas)\
**Post date:** [January 7, 2019, 7:47pm UTC](https://discourse.slicer.org/t/import-dicom-files-problem/5301/3 "2019-01-07T19:47:01Z")

</div>

Yes, I tried it. But my data are anonymised so Slicer creates 27 studies of sigle image instead of 27 images stuck. I thought when I just pick these slices by ADD DATA, it could be ok.

---

<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:** [January 7, 2019, 8:09pm UTC](https://discourse.slicer.org/t/import-dicom-files-problem/5301/4 "2019-01-07T20:09:12Z")

</div>

> [@Thomas](#):
>
> But my data are anonymised so Slicer creates 27 studies of sigle image instead of 27 images stuck

It is then anonymized incorrectly. Anonymization should not disintegrate the image series.

You can reassign image slices to the same image series again using DICOMPatcher module might be able to fix it but you should rather fix your DICOM anonymization process.

What software did you use for anonymization?

---

<div class="post-metadata">

**Author:** ![Thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Thomas](https://discourse.slicer.org/u/Thomas)\
**Post date:** [January 7, 2019, 8:44pm UTC](https://discourse.slicer.org/t/import-dicom-files-problem/5301/5 "2019-01-07T20:44:31Z")

</div>

I’m not sure, I have already got them anonymized, but I think it was done by some DIY skript in Matlab. Therefore you might be right. Thank you.

---

<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:** [January 7, 2019, 10:25pm UTC](https://discourse.slicer.org/t/import-dicom-files-problem/5301/6 "2019-01-07T22:25:48Z")

</div>

By default, Matlab’s DICOM write function creates invalid volume. See a bit more information and potential solutions in this topic: [How to import all dicom files into one volume](https://discourse.slicer.org/t/how-to-import-all-dicom-files-into-one-volume/5260/11)

Matlab is really limited compared to Python when it comes to medical image computing, analysis, and visualization. I would recommend you to try to fully implement your workflow using Python-based tools. All features of Slicer and several important medical image computing libraries are available in Slicer’s embedded Python interpreter, so most probably you can implement custom processing workflow directly in Slicer.

---

<div class="post-metadata">

**Author:** ![Thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Thomas](https://discourse.slicer.org/u/Thomas)\
**Post date:** [January 8, 2019, 7:27pm UTC](https://discourse.slicer.org/t/import-dicom-files-problem/5301/7 "2019-01-08T19:27:33Z")

</div>

OK, I will check it. Thank you very much!
