# Double Images when loading a DICOM file

**URL:** https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601
**Category:** Support
**Tags:** dicom
**Created:** [December 24, 2019, 5:20am UTC](https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601 "2019-12-24T05:20:14Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Ng\_Hui\_Sin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ng_hui_sin/32/5294_2.png) [@Ng\_Hui\_Sin](https://discourse.slicer.org/u/Ng_Hui_Sin)
#### Post date: [December 24, 2019, 5:20am UTC](https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601/1 "2019-12-24T05:20:14Z")

</div>

Hi,  
I am using operating system of Windows 10. 3D slicer 4.10.2 was downloaded.  
I opened a DICOM file and expected the good resolution of the image.  
But the interface show double image for three plane and the resolution was bad.  
After adjusting the contrast, the resolution of the image does not meet my expectation (like what in a DICOM viewer.)

May i know what is the problem? Thank you in advance.

After loading a DICOM,

 ![3D Slicer DICOM loading problem](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/1/212528cf46f26d412fe49fdc6b67df46c9b514f2.png)

After adjusting the contrast,

 ![3D Slicer DICOM loading problem 2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/1/61aabcca6e3e32d619f28ef8e5ad8aeda921a50a.png)

Comparing with the DICOM viewer,

 ![3D Slicer DICOM loading problem 2 (DICOM viewer)](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/b/5b15122665bc379d60df7ff183571ce77d89a8d8.png)

Hope you can lend me your hand on this matter. 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: [December 24, 2019, 5:52am UTC](https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601/2 "2019-12-24T05:52:40Z")

</div>

Please try if latest Slicer Preview Release loads the images correctly. If not, then follow [these instructions](https://www.slicer.org/wiki/Documentation/Nightly/FAQ/DICOM#Something_is_displayed.2C_but_it_is_not_what_I_expected).

---

<div class="post-metadata">

### Author: ![issakomi](https://avatars.discourse-cdn.com/v4/letter/i/b9e5f3/32.png) [@issakomi](https://discourse.slicer.org/u/issakomi)
#### Post date: [December 25, 2019, 8:19am UTC](https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601/3 "2019-12-25T08:19:28Z")

</div>

This may be fixed in the current ITK master (5.1), at least it is for some images with very similar error. A sample image were interesting.

---

<div class="post-metadata">

### Author: ![Ng\_Hui\_Sin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ng_hui_sin/32/5294_2.png) [@Ng\_Hui\_Sin](https://discourse.slicer.org/u/Ng_Hui_Sin)
#### Post date: [January 4, 2020, 10:01am UTC](https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601/4 "2020-01-04T10:01:02Z")

</div>

It able to load the DICOM which download from slicer.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/2/927c19e8270084c48812e11c3c6999e42d8ed213.png)

Nothing changes when follow the ’ I would expect to see a different image’

 ![3D Slicer Prob](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/2/72d69b7ebdc08415e42dc294805999e582a15a8a.png)

After patching using volume patcher,

 ![3D Slicer Prob 3 (After DICOM patcher)](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/e/8e262cb8079b556c6724012b95d807630288d666.png)

Try loading the data by selecting one of the files in the [Add Data Dialog], same thing appear.

Here i share the cleaned series.  
[https://drive.google.com/open?id=1SmWrZlXoHsbQ5tFFLJ08IeBUNZg-PNK4](https://drive.google.com/open?id=1SmWrZlXoHsbQ5tFFLJ08IeBUNZg-PNK4)

Hope you can help me in this.  
Thank you so much.

---

<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 4, 2020, 7:14pm UTC](https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601/5 "2020-01-04T19:14:12Z")

</div>

ITK toolkit (that Slicer uses to load DICOM images) cannot load these images correctly, most probably because the image is compressed and ITK chooses incorrect data type.

While we fix the issue, you can import this data set into Slicer by following these steps:

- install SlicerDcm2nii extension in Extension Manager and restart Slicer
- switch to module: Diffusion / Import and Export / Diffusion-weighted DICOM import (DCM2niixGUI)
- set “Input Directory” to the folder that contains your DICOM files and click Apply

@thewtex Does this error look familiar to you? Has it been fixed in recent ITK versions?

---

<div class="post-metadata">

### Author: ![thewtex](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/thewtex/32/32_2.png) [@thewtex](https://discourse.slicer.org/u/thewtex)
#### Post date: [January 5, 2020, 12:40am UTC](https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601/6 "2020-01-05T00:40:58Z")

</div>

It looks like improved handling of the pixel type is required.

There have been many improvements since Slicer’s current version of ITK:

> <https://github.com/Slicer/Slicer/blob/b6bf2d30c99f731644182f750a4abd8e3c8204ca/SuperBuild/External_ITK.cmake#L36>

with credit to @issakomi, who has significant relevant experience. It is worth a bump to ITK 5.1rc01.

---

<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 5, 2020, 4:43am UTC](https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601/7 "2020-01-05T04:43:42Z")

</div>

Thank you @thewtex , I confirm that the image loads correctly when switching to ITK 5.1rc01.

---

<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 6, 2020, 3:37pm UTC](https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601/8 "2020-01-06T15:37:04Z")

</div>

Fix is on the way. You can monitor the status of ITK version update that will fix this issue [here](https://github.com/Slicer/Slicer/pull/1295).

---

<div class="post-metadata">

### Author: ![Ng\_Hui\_Sin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ng_hui_sin/32/5294_2.png) [@Ng\_Hui\_Sin](https://discourse.slicer.org/u/Ng_Hui_Sin)
#### Post date: [January 7, 2020, 12:32am UTC](https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601/9 "2020-01-07T00:32:21Z")

</div>

> [@lassoan](#):
>
> SlicerDcm2nii

Hi Sir, thank you for you reply. This is the outcome after trying SlicerDcm2nii extension. Image appear single now but the contrast is till not in expection.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/a/cafba4532325e4e4125a73b160a7ea8db7438aff.jpeg)

Thank you so much for you help.

---

<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, 2020, 1:20am UTC](https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601/10 "2020-01-07T01:20:10Z")

</div>

The contrast of the image looks excellent. You can adjust display window width/level by left-click-and-drag in slice viewers.

---

<div class="post-metadata">

### Author: ![Ng\_Hui\_Sin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ng_hui_sin/32/5294_2.png) [@Ng\_Hui\_Sin](https://discourse.slicer.org/u/Ng_Hui_Sin)
#### Post date: [January 8, 2020, 2:33pm UTC](https://discourse.slicer.org/t/double-images-when-loading-a-dicom-file/9601/11 "2020-01-08T14:33:12Z")

</div>

Okay. Really thanks for you help.
