Struggling with Multi-Phase DCE-MRI Segmentation: Issues with 3D Slicer Viewing and DICOM Reconstruction

Issue Summary:

I’m working with a dynamic contrast-enhanced abdominal MRI dataset, with 320 slices divided into 4 phases (non-contrast, arterial, portal venous, delayed). The goal is to separate these phases and generate corresponding DICOM files that can be correctly loaded and viewed in 3D Slicer.

Problem:

  1. DICOM Files Segmentation: The original file has all 4 phases combined, and I need to split them into individual phases, each containing 80 slices.
  2. DICOM Viewer Issues: After splitting the phases, the resulting DICOM files can be opened, but they do not behave as expected:
  • Inconsistent Browsing: In viewers like MicroDICOM, scrolling through slices is not smooth, and slices have to be clicked manually.
  • 3D Slicer Errors: While importing into 3D Slicer, the following warning appears:
    3.“Multi-frame image. If slice orientation or spacing is non-uniform then the image may be displayed incorrectly.”*Moreover, the reconstructed files seem to contain slices from multiple phases.

Methods Attempted:

  1. Original Dataset Processing: We extracted pixel data from the DICOM file and attempted to split the phases based on temporal indices using Python (pydicom). We ensured proper metadata such as SeriesInstanceUID, SliceThickness, SpacingBetweenSlices, PixelRepresentation, BitsAllocated, etc., are copied or set correctly.
  2. File Reconstruction: The pixel data was successfully split into the four phases, but the reconstructed files had problems:
  • Incorrect browsing behavior in DICOM viewers.
  • In 3D Slicer, the loading was problematic, and slices were not displayed correctly.
  1. Pixel Data Metadata: Ensured that the pixel data metadata (BitsAllocated: 16, BitsStored: 12, High Bit: 11, and PixelRepresentation: 0) matched the original DICOM file.

Despite these efforts, 3D Slicer still throws the geometry-related warning and does not display the images correctly.

Request for Help:

I am looking for guidance on:

  1. Correctly splitting multi-phase DICOM files for smooth scrolling in viewers like 3D Slicer.
  2. Fixing metadata or geometry issues that may be causing the error in 3D Slicer.

Hi.-

Thanks for sharing this data. Unfortunately it’s not a format that we typically see and I don’t know of any tools that will automatically recognize the sequence of volumes. Also there are lots of Philips private tags, so some of the key metadata needed to understand the acquisition may be hard to extract or may need to be filled in from out-of-band sources (i.e. not from the header).

That said, probably with a little python scripting you could extract the frames into reasonable volumes. You would want to look at the DimensionOrganizationSequence and then the SharedFunctionalGroupsSequence and PerFrameFunctionalGroupsSequence to get the correct image geometry and timing information.