# ERROR with DCE MRI loading in DICOM Browser

**URL:** <https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327>\
**Category:** Support\
**Created:** [May 16, 2017, 5:23pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327 "2017-05-16T17:23:54Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![kirezgik](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kirezgik/32/202_2.png) [@kirezgik](https://discourse.slicer.org/u/kirezgik)\
**Post date:** [May 19, 2017, 3:39pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/22 "2017-05-19T15:39:14Z")

</div>

Thank you all @fedorov, @pieper and @lassoan for your helps. In the meanwhile, I have realized that not only DCE but also other sequences, like T1 FS+C, for this case can not be loaded into Slicer. But i can display the images in a different software.  
The dataset have been generated on a preclinical system, as you figured, so I will contact with someone who generated the data and get more detailed information about it.

---

<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:** [May 19, 2017, 3:48pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/23 "2017-05-19T15:48:57Z")

</div>

@fedorov yes, the tag it complains about is LossyImageCompression,  
0x0028,0x2110. But the value looks okay to me (“00”) and since this isn’t  
one that that dciodvfy complains about so I suspect the actual issue is  
something else.

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [May 19, 2017, 3:56pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/24 "2017-05-19T15:56:53Z")

</div>

Works just fine in OsiriX!

@kirezgik yes, you should report that the data generated by the system is not standard-compliant, please do that, but I don’t expect a quick fix.

Since it works in OsiriX, it must be possible to figure out how to make it work in Slicer, it’s just a matter of resources. I don’t have a lot of time to spend on this today.

Do you know if I can make your dataset public? We could share it with the ITK/GDCM developers, since the problem is outside of Slicer really (but Slicer should rightfully take the full blame for the dataset not loading!)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/a/ea19a1633c0b1f2e02269d0e75ba32c8de5528a2.png)

---

<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:** [May 19, 2017, 4:07pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/25 "2017-05-19T16:07:21Z")

</div>

Is it possible that the image is compressed?

You may also try to run Slicer’s DICOM patcher on it (although it does not contain fixes related to the specific errors that are reported).

---

<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:** [May 19, 2017, 4:10pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/26 "2017-05-19T16:10:12Z")

</div>

@fedorov - I agree, this is certainly fixable with some time and effort.  
It would be good to see if we can replicate the issue in pure ITK.

---

<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:** [May 19, 2017, 4:29pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/27 "2017-05-19T16:29:03Z")

</div>

I tried the DICOMPatcher and it didn’t solve the issue.

---

<div class="post-metadata">

**Author:** ![kirezgik](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kirezgik/32/202_2.png) [@kirezgik](https://discourse.slicer.org/u/kirezgik)\
**Post date:** [May 19, 2017, 10:28pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/28 "2017-05-19T22:28:54Z")

</div>

I`ve just shared the`anonymized` data set with you to share it with the ITK/GDCM developers. Hope it helps.

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [May 21, 2017, 3:43am UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/29 "2017-05-21T03:43:06Z")

</div>

I reproduced the problem using pure ITK (the version that is used by Slicer).

The repo to reproduce the problem is here: [https://github.com/fedorov/itk-gdcm-dcmtk-readers](https://github.com/fedorov/itk-gdcm-dcmtk-readers)

GDCM reader fails with the same error as in Slicer:

```auto
Exception thrown while reading the series

itk::ExceptionObject (0x7ff2538696d8)
Location: "virtual void itk::ImageBase<3>::ComputeIndexToPhysicalPointMatrices() [VImageDimension = 3]"
File: /Users/fedorov/local/builds/Slicer4-Release/ITKv4/Modules/Core/Common/include/itkImageBase.hxx
Line: 187
Description: itk::ERROR: Image(0x7ff253873c90): A spacing of 0 is not allowed: Spacing is [0.3125, 0.3125, 0]

```

DCMTK reader works just fine, and results in a volume with slice thickness 1.3, as expected.

I will follow up with the ITK folks, but this experience, once again, begs the question - why do we rely in ITK and Slicer on GDCM and not on DCMTK?

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [May 21, 2017, 4:10am UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/30 "2017-05-21T04:10:39Z")

</div>

ITK issue reported: [https://issues.itk.org/jira/browse/ITK-3546](https://issues.itk.org/jira/browse/ITK-3546)

Sample dataset shared by @kirezgik uploaded here: [https://github.com/fedorov/itk-gdcm-dcmtk-readers/releases/download/gdcm\_fails/GDCM\_fails.zip](https://github.com/fedorov/itk-gdcm-dcmtk-readers/releases/download/gdcm_fails/GDCM_fails.zip)

CC: @thewtex

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [May 25, 2017, 1:46pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/31 "2017-05-25T13:46:55Z")

</div>

@kirezgik are you able to build Slicer from source, or you only use the downloaded binaries?

I have a modified version of code that works for your dataset, but other people have concerns about integrating that solution into the main application, so I need to work on another approach.

---

<div class="post-metadata">

**Author:** ![kirezgik](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kirezgik/32/202_2.png) [@kirezgik](https://discourse.slicer.org/u/kirezgik)\
**Post date:** [May 26, 2017, 4:35pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/32 "2017-05-26T16:35:56Z")

</div>

I only use the downloaded binaries. But if building from source helps, we might try to do that.

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [May 29, 2017, 1:49pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/33 "2017-05-29T13:49:17Z")

</div>

@kirezgik I feel sorry to ask you to build it, since it might be easier for me to implement this feature in the extension, than for you to build Slicer. I think it is too much trouble for you. I am not sure if I can get to it this week, but if not then next week for sure.

---

<div class="post-metadata">

**Author:** ![zp12132016](https://avatars.discourse-cdn.com/v4/letter/z/ec9cab/32.png) [@zp12132016](https://discourse.slicer.org/u/zp12132016)\
**Post date:** [May 29, 2017, 2:28pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/34 "2017-05-29T14:28:47Z")

</div>

Hi Andrey,

Thanks very much for your fast reply, No problem, I can build it again.

Best regards

Zen

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [May 29, 2017, 2:42pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/35 "2017-05-29T14:42:52Z")

</div>

@zp12132016 this is the branch that contains the fix that should allow loading of the DCE dataset @kirezgik shared earlier: [https://github.com/fedorov/slicer/tree/dcmtk-for-scalar-volume](https://github.com/fedorov/slicer/tree/dcmtk-for-scalar-volume)

---

<div class="post-metadata">

**Author:** ![zp12132016](https://avatars.discourse-cdn.com/v4/letter/z/ec9cab/32.png) [@zp12132016](https://discourse.slicer.org/u/zp12132016)\
**Post date:** [May 29, 2017, 3:23pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/36 "2017-05-29T15:23:59Z")

</div>

Hi Andrey,

Thanks for your active reply!

I am trying to built the slicer again, currently I am using slicer version 4.6.2 and Viusal studio 2013 desktop with update 5, Qt 4.8.7 and CMake 3.8.1

Do you think I need to try different version of slicer?

For the branch you mentioned below, how to put it in build slicer?

Best regards

Zen

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [May 29, 2017, 3:52pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/37 "2017-05-29T15:52:24Z")

</div>

You will have to check out the branch I mentioned above from GitHub, and build Slicer from scratch. Looking at the instructions [1], your setup should work.

[1] [https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build\_Instructions#Windows](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_Instructions#Windows)

---

<div class="post-metadata">

**Author:** ![kirezgik](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kirezgik/32/202_2.png) [@kirezgik](https://discourse.slicer.org/u/kirezgik)\
**Post date:** [June 2, 2017, 8:15pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/38 "2017-06-02T20:15:51Z")

</div>

Hi,  
We tried the instructions for setup, but can not unzip Cmake and Qt folders in common prerequisites.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/1/a19299c6a28eab9019cb0c54410ac728b7a6f6fa.png)

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

---

<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:** [June 2, 2017, 8:35pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/39 "2017-06-02T20:35:26Z")

</div>

Do you have CMake running? Do you have any anti-virus software that may prevent extraction of executable files? Can you extract the files in your user directory or desktop?

---

<div class="post-metadata">

**Author:** ![kirezgik](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kirezgik/32/202_2.png) [@kirezgik](https://discourse.slicer.org/u/kirezgik)\
**Post date:** [June 6, 2017, 5:31pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/40 "2017-06-06T17:31:40Z")

</div>

We had CMake run and tried to extract the files in desktop but it gives these errors:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/b/5b0d4455960459e831ae1c1527c4f19e38bf36d4.png)

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [June 7, 2017, 3:30pm UTC](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327/41 "2017-06-07T15:30:54Z")

</div>

We are moving forward with the implementation discussed in this thread: [Slicer DICOM Scalar volume plugin relies on (old) GDCM: why do we not use DCMTK?](https://discourse.slicer.org/t/slicer-dicom-scalar-volume-plugin-relies-on-old-gdcm-why-do-we-not-use-dcmtk/354/15)

We should hopefully have it in the application sometime soon. I will followup with @pieper later this week. I think fixing this problem of failing read of scalar volume in the Slicer application should be done no matter what.

[Previous page](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327.md?page=1)

[Next page](https://discourse.slicer.org/t/error-with-dce-mri-loading-in-dicom-browser/327.md?page=3)
