Code for Structure-Contrast Disentangled INRs for Accelerated Multi-contrast MRI Reconstruction, to be presented at MICCAI 2026 (link to be added when available).
Install the Python dependencies with:
pip install -r requirements.txtThe current environment uses:
torchsigpyh5pymatplotlibscikit-imagetqdm
We use the publicly available M4RAW dataset. It contains multi-contrast brain MRI scans collected on a 0.3T custom scanner. All subject datasets should contain three contrasts: T1, T2, FLAIR, each with dimensions (18, 4, 256, 256) (Slices, Coils, Rows, Columns). Note that the M4RAW dataset contains multiple repetitions, which can be averaged for higher baseline SNR.
We have provided a demo notebook (demo.ipynb) that walks through the following:
- Loading the M4RAW data
- Instantiating a DISINR model
- Setting up training environment
- Reconstructing a slice from the loaded example subject
- Visualizing reconstruction results and computing performance metrics
If you want to use the model directly in your own code, import DISINR from model.py and the helper utilities from utils.py.
.
├── demo.ipynb # Notebook demonstrating how to use DISINR model for reconstructing a protocol
├── model.py # DISINR model definition
├── utils.py # Helper functions for making coordinate grids, joint TV loss, and generating sampling masks
└── requirements.txt # List of required Python packages
See LICENSE for licensing details.