Skip to content

Instantly share code, notes, and snippets.

@aabrown100-git
aabrown100-git / DICOMCineMRIPlugin.py
Created April 22, 2026 05:26
3D Slicer DICOM plugin: load 2D cardiac cine MRI (Enhanced MR Storage) as a sequence instead of a scalar volume
import logging
import pydicom
import vtk
from vtk.util import numpy_support
import numpy as np
import slicer
from slicer.i18n import tr as _