Coder Social home page Coder Social logo

albellov / brain-fastmri-acceleration Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 3.01 MB

Machine Learning project, Skoltech, Term 3, 2020

Home Page: https://fastmri.org

Jupyter Notebook 99.19% Python 0.78% Shell 0.03%
mri mri-procedure acceleration fastmri

brain-fastmri-acceleration's Introduction

FastMRI: acceleration MRI procedure using Image-to-Image translation

Authors:

Aleksandr Belov, Mariia Kopylova, Miron Kuznetsov, Alexey Pronkin

The Magnetic Resonance Imaging accelerating could be done by taking fewer measurements, it might decrease the MRI time and medical costs.

The motivation of the project is to make an algorithm, which increases the speed of the MR procedure with maximal saving the quality of the image, using metrics (MAE, PSNR, SSIM (mean absolute error, peak signal-to-noise ratio, structural similarity)) at different speed-up rates (x2, x4, x8). The fastMRI dataset was used for training and evaluation of machine-learning approaches (GAN) to MR image reconstruction.

An algorithm of fast MRI was create, with high values of a target metric.

Dataset (already preprocessed)

https://disk.yandex.ru/d/bVOlw7W9v2mWeQ

k-space

The k-space is defined by the space covered by the phase and frequency encoding data. The relationship between k-space data and image data is the Fourier transformation.

Our solution

During the MRI procedure, the entire k-space is filled in, and then an MRI image is obtained. Filling k-space is a long process that can be calmed down as follows: filling 50% of k-space will speed up the procedure for the patient by ~2 times, filling 25% of k-space by ~4 times, filling 12.5% by ~8 times. Acceleration causes severe image distortion, and the higher the acceleration, the greater the distortion.

Test models

Example for x2 acceleration

  • Put the models from model_x2 dir to models dir;
bash
mv path_to_data_from_ya_disk/model_x2/G_x2.pth brain-fastMRI/models
  • Unpack the data to data dir;
bash
tar -zxvf path_to_data_from_ya_disk/source_data/ax_t2_single_source_test.tar.gz brain-fastMRI/data
tar -zxvf path_to_data_from_ya_disk/source_data/ax_t2_single_source_val.tar.gz brain-fastMRI/data
tar -zxvf path_to_data_from_ya_disk/source_data/ax_t2_single_source_train.tar.gz brain-fastMRI/data

tar -zxvf path_to_data_from_ya_disk/source_data/ax_t2_single_sampled_x2_test.tar.gz brain-fastMRI/data
tar -zxvf path_to_data_from_ya_disk/source_data/ax_t2_single_sampled_x2_val.tar.gz brain-fastMRI/data
tar -zxvf path_to_data_from_ya_disk/source_data/ax_t2_single_sampled_x2_train.tar.gz brain-fastMRI/data
  • Install package.
bash
cd rain-fastMRI
pip setup.py install

brain-fastmri-acceleration's People

Contributors

albellov avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mariiakop

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.