GithubHelp home page GithubHelp logo

tddip's Introduction

TD-DIP with Cartesian radial sampling

The origin TD-DIP code is adapted specifically in non-cartesian radial sampling, thus the running time is relatively slow. I have changed the code to adapt the pseudo-radial sampling (Cartesian version of random radial sampling) as in k-t SLR method. Thus, it runs fast.

Data

I used one of the OCMR data to test the code as I was familiar with this dataset, specifically, the data dir is Data_Results/0004.npz





The following is the origin Readme.


TD-DIP (IEEE Transactions on Medical Imaging, 2021)

The Official PyTorch Implementation of Time-Dependent Deep Image Prior for Dynamic MRI (Journal | arXiv)

Jaejun Yoo1, Kyong Hwan Jin1,2, Harshit Gupta1, Jerome Yerly2,3,4, Matthias Stuber2,3,4, Michael Unser1

Affiliations: 1 EPFL, 2 DGIST, 3 CHUV, 4 UNIL, 5 CIBM

We propose a novel unsupervised deep-learning-based algorithm for dynamic magnetic resonance imaging (MRI) reconstruction. Dynamic MRI requires rapid data acquisition for the study of moving organs such as the heart. We introduce a generalized version of the deep-image-prior approach, which optimizes the weights of a reconstruction network to fit a sequence of sparsely acquired dynamic MRI measurements. Our method needs neither prior training nor additional data. In particular, for cardiac images, it does not require the marking of heartbeats or the reordering of spokes. The key ingredients of our method are threefold: 1) a fixed low-dimensional manifold that encodes the temporal variations of images; 2) a network that maps the manifold into a more expressive latent space; and 3) a convolutional neural network that generates a dynamic series of MRI images from the latent variables and that favors their consistency with the measurements in k-space. Our method outperforms the state-of-the-art methods quantitatively and qualitatively in both retrospective and real fetal cardiac datasets. To the best of our knowledge, this is the first unsupervised deep-learning-based method that can reconstruct the continuous variation of dynamic MRI sequences with high spatial resolution.

Updates

  • 08 September 2021: Add the retrospective dataset
  • 07 September 2021: Updated the nufft codebase repo
  • 20 May 2021: Paper accepted at IEEE TMI.
  • September 2019: Paper submitted to IEEE TMI.

Getting Started

Installation

Getting started with pip

If you don't have docker, but you have python3, pip3, and git, run the following commands:

#download virtualenv with pip3: 
pip3 install virtualenv

#start a virtual environment
virtualenv venv
source venv/bin/activate

#make sure that you are using python 3
which python 

#use the provided requirements file 
pip3 install -r requirements.txt

#clone the python-nufft library 
git clone https://github.com/dfm/python-nufft
cd python-nufft 
python setup.py install 
cd .. 

Now you should be able to run the code:

python main.py

If you want to resume your training from epoch 0:

python main.py --isresume ./logs/retro_YMDHMS/0.pt

If you want to test the model with weights saved at epoch 0:

python main.py --istest --isresume ./logs/retro_YMDHMS/0.pt

Getting started with Docker

# Pull docker environment
docker pull jaejun2004/dip-dynamicmri
# Run main.py
python main.py

Datasets

You can find the retrospective dataset here!

License

All material, excluding the dataset, is made available under Creative Commons BY-NC 4.0 license by Jaejun Yoo. You can use, redistribute, and adapt the material for non-commercial purposes, as long as you give appropriate credit by citing our paper and indicating any changes that you've made.

Citation

If you find this work useful for your research, please cite:

@article{yoo2021time,
  title={Time-Dependent Deep Image Prior for Dynamic MRI},
  author={Yoo, Jaejun and Jin, Kyong Hwan and Gupta, Harshit and Yerly, Jerome and Stuber, Matthias and Unser, Michael},
  journal={IEEE Transactions on Medical Imaging},
  year={2021},
  publisher={IEEE}
}

Contact

Feel free to contact me if there is any question (Jaejun Yoo [email protected]).

tddip's People

Contributors

jaejun-yoo avatar yhao-z avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.