# Wrong order of slices when reading enhanced multi-frame MRI containing 3 image stacks

**URL:** <https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606>\
**Category:** Support\
**Tags:** dicom\
**Created:** [July 29, 2024, 9:11am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606 "2024-07-29T09:11:18Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![winter](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@winter](https://discourse.slicer.org/u/winter)\
**Post date:** [July 29, 2024, 9:11am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/1 "2024-07-29T09:11:18Z")

</div>

Operating system: Windows  
Slicer version: 5.6.2.

When loading slice packages (respiratory gated T2) to 3D Slicer, the slices get represented in a wrong order. When I open the DICOM file in ImageJ, the representation of the slices is normal.  
Is there any way to reorganize the slices in 3D Slicer? Please find an image attached.

Thank you!

 ![Slice package](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/3/93c439765e5529dabd3a9b32c41a71cc05b2a11e.jpeg)

---

<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 29, 2024, 9:21am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/2 "2024-07-29T09:21:13Z")

</div>

Have you loaded the image using the DICOM browser?

---

<div class="post-metadata">

**Author:** ![winter](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@winter](https://discourse.slicer.org/u/winter)\
**Post date:** [July 29, 2024, 9:33am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/3 "2024-07-29T09:33:51Z")

</div>

Thank you for your reply Anras, yes, I did.

---

<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 29, 2024, 9:38am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/4 "2024-07-29T09:38:02Z")

</div>

Could you share the dataset (after anonymization) so that we can investigate? You can upload to onedrive/dropbox/google drive and post the link here.

---

<div class="post-metadata">

**Author:** ![winter](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@winter](https://discourse.slicer.org/u/winter)\
**Post date:** [July 29, 2024, 9:56am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/5 "2024-07-29T09:56:01Z")

</div>

I am sending now only one sequence of the dicome file, please tell me, if you need the whole DICOM file.

Thank you for your help.

[ENIM1](https://1drv.ms/u/c/099b754dec08494e/EXlNrxN86S5AkYwJQycPfzkBERp_0oRkbbgF2kJ8wz3zOw?e=SFNeHo)

---

<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 29, 2024, 10:01am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/6 "2024-07-29T10:01:11Z")

</div>

We would need all the slices, so it would be great if you could send those.

---

<div class="post-metadata">

**Author:** ![winter](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@winter](https://discourse.slicer.org/u/winter)\
**Post date:** [July 29, 2024, 10:10am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/7 "2024-07-29T10:10:07Z")

</div>

[DICOM](https://1drv.ms/f/c/099b754dec08494e/EonY8jjKSedKqux4OYK4VlMBS6IE9D1fbOYC7Xn0y42zIw?e=QwFTwG)

---

<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 29, 2024, 11:50pm UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/8 "2024-07-29T23:50:59Z")

</div>

This is probably a valid DICOM image but a very special one, as it is an enhanced multi-frame MRI containing 3 image stacks. I don’t think we’ll update the default DICOM image reader plugin in Slicer to handle these kind of images and checked a few other DICOM image readers and they were not able to load these images correctly either.

I’ve [filed an issue to @Chris\_Rorden’s dcm2niix DICOM converter tool](https://github.com/rordenlab/dcm2niix/issues/839). If he manages to update his converter to handle this images then you’ll be able to load images like this into Slicer by installing the SlicerDcm2nii extension.

---

<div class="post-metadata">

**Author:** ![winter](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@winter](https://discourse.slicer.org/u/winter)\
**Post date:** [July 30, 2024, 6:45am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/9 "2024-07-30T06:45:05Z")

</div>

Thank you for your kind help.  
There is an other issue in the same file, I can´t solve. I already sent a post, but I did not get response yet. I have a DCE image there with 3 layers in a time resolution of 1 sec during 9 minutes. When you open the image set the order of images displayed is : time 1 - frame 1; time 1 - frame 2; time 1 - frame 3; time 2 - frame 1; time 2 - frame 2; time 2 - frame 3; and so on. I would prefere to have first ordered by frame and second to time. I would like to analyse the DCE in 3D Slicer but I did not find the right way yet. The image is not recognised as multiframe object but as scalar volume (The images are then arranged firstly in the order of time and secondly in order of Frames). This is why it won’t be recognised in the MultiVolumeExplorer as an input multivolume.

Could you maybe check this out, too? Thank you very 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:** [July 31, 2024, 10:37am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/10 "2024-07-31T10:37:20Z")

</div>

@Chris_Rorden has implemented a quick workaround in his dcm2niix tool. It will be available for latest Slicer Preview Release and in the latest Slicer Stable Release from tomorrow. You need to disable the default DICOM scalar volume reader plugin to make the dcm2niix plugin used by default:

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

The change in the dcm2niix tool may not be permanent, so please report the DICOM non-conformance error to your scanner manufacturer (sending them the [Incorrect 3D reconstruction for enhanced multi-frame MRI · Issue #839 · rordenlab/dcm2niix · GitHub](https://github.com/rordenlab/dcm2niix/issues/839) link should be sufficient).

I’ll comment on the DCE-MRI loading in [that topic](https://discourse.slicer.org/t/dce-time-series-recognised-as-scalar-volume/33198). In both cases the issue is that the new enhanced mult-frame MRI format is used, which is not well supported by most tools, including Slicer, as we have not encountered such images before. The issue is further complicated by Bruker’s implementation not fully following the DICOM standard.

---

<div class="post-metadata">

**Author:** ![winter](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@winter](https://discourse.slicer.org/u/winter)\
**Post date:** [August 2, 2024, 8:53am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/11 "2024-08-02T08:53:33Z")

</div>

Thank you for your help, but for me it does not function perfectly. This way for me it loads only the first slice package with 14 slices.  
I am going to contact the manufacturer considering the DICOM non-conformance problem.

 ![Screenshot_1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/b/6bfa94b0e72948ed167674e05b197e035d41006f.jpeg)

---

<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:** [August 2, 2024, 9:18am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/12 "2024-08-02T09:18:56Z")

</div>

This was the old behavior. You don’t have the new version of dcm2niix yet.

What operating system and Slicer version do you use?

---

<div class="post-metadata">

**Author:** ![winter](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@winter](https://discourse.slicer.org/u/winter)\
**Post date:** [August 2, 2024, 11:35am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/13 "2024-08-02T11:35:24Z")

</div>

Windows 10 Enterprise  
Slicer 5.7.0

---

<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:** [August 3, 2024, 10:32pm UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/14 "2024-08-03T22:32:10Z")

</div>

Each day there is a new version of Slicer-5.7.0. Could you test with the very latest version (that you have just downloaded)?

---

<div class="post-metadata">

**Author:** ![saaussan](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@saaussan](https://discourse.slicer.org/u/saaussan)\
**Post date:** [August 7, 2024, 5:20pm UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/15 "2024-08-07T17:20:16Z")

</div>

Hi,  
Can you please email Bruker application  
[application.mri.americas@bruker.com](mailto:application.mri.americas@bruker.com)  
We will send you instructions to upload the data to troubleshoot the problem.  
Kind Regards,

---

<div class="post-metadata">

**Author:** ![winter](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@winter](https://discourse.slicer.org/u/winter)\
**Post date:** [August 15, 2024, 10:49am UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/16 "2024-08-15T10:49:40Z")

</div>

Dear Saaussaan, thank you for your reply, I have sent an e-mail there.

Kind Regards

---

<div class="post-metadata">

**Author:** ![winter](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@winter](https://discourse.slicer.org/u/winter)\
**Post date:** [August 15, 2024, 12:48pm UTC](https://discourse.slicer.org/t/wrong-order-of-slices-when-reading-enhanced-multi-frame-mri-containing-3-image-stacks/37606/17 "2024-08-15T12:48:00Z")

</div>

Dear Andras,  
I downloaded today the actual version of Slicer - 5.7.0, there Dcm2niixPlugin indeed opened the image in the right way. Thank you for your help.
