BioMedAI-UCSC / InverseSR

[Early Accepted at MICCAI 2023] Pytorch Code of "InverseSR: 3D Brain MRI Super-Resolution Using a Latent Diffusion Model"

Home Page:http://arxiv.org/abs/2308.12465

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

title

We have developed an unsupervised technique for MRI super-resolution. We leverage a recent pre-trained Brain LDM for building powerful image priors over T1w brain MRIs. Our method is capable of being adapted to different settings of MRI SR problems at test time. Our method try to find the optimal latent representation $z^∗$ in the latent space of the Brain LDM, which could be mapped to represent the SR MRI $G(z^∗)$.

This gif shows the image space of the gradual optimization process when InverseSR finds the optimal latent representation $z^∗$.

Install Requirements

pip install -r requirements.txt

Running InverseSR

We have given an example of ground truth high-resolution MRI ./inputs/ur_IXI022-Guys-0701-T1.nii.gz. The code of generating low-resolution MRI is contained. Please download the Brain LDM parameters ddpm and decoder from here into the InverseSR folder. Commands and parameters to run InverseSR can be found in job_script/InverseSR(ddim).sh and job_script/InverseSR(decoder).sh file.

Data Preparation

!! This model needs to be run on GPU/CPUs with at least 80GB of memory

You can find the necessary files for running the code here

About

[Early Accepted at MICCAI 2023] Pytorch Code of "InverseSR: 3D Brain MRI Super-Resolution Using a Latent Diffusion Model"

http://arxiv.org/abs/2308.12465

License:Apache License 2.0


Languages

Language:Python 98.2%Language:Shell 1.8%