Coder Social home page Coder Social logo

palmland / 3dbraingen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cyclomon/3dbraingen

0.0 1.0 0.0 124 KB

Official Pytorch Implementation of "Generation of 3D Brain MRI Using Auto-Encoding Generative Adversarial Network" (accepted by MICCAI 2019)

License: MIT License

Python 14.13% Jupyter Notebook 85.87%

3dbraingen's Introduction

Official Pytorch Implementation of "Generation of 3D Brain MRI Using Auto-Encoding Generative Adversarial Networks" (accepted by MICCAI 2019)

This repository provides a PyTorch implementation of 3D brain Generation. It can successfully generates plausible 3-dimensional brain MRI with Generative Adversarial Networks. Trained models are also provided in this page.

Paper

"Generation of 3D Brain MRI Using Auto-Encoding Generative Adversarial Networks"

The 22nd International Conference on Medical Image Computing and Computer Assisted Intervention(MICCAI 2019) : (https://arxiv.org/abs/1908.02498)

Dependencies

We highly recommend you to use Jupyter Notebook for the better visualization!

Dataset

You can download the Normal MRI data in Alzheimer's Disease Neuroimaging Initiative(ADNI) , Tumor MRI data in BRATS2018 and Stroke MRI data in Anatomical Tracings of Lesions After Stroke (ATLAS).

We converted all the DICOM(.dcm) files of ADNI into Nifti(.nii) file format using SPM12 I/O tools.

ADNI : Download Post-processed(processed with 'recon-all' command of Freesurfer) Structural images labeled as 'Control Normal'.

BRATS : Download dataset from BRATS2018 website.

ATLAS : Download dataset from ATLAS website. Obtain probability maps(masks) from the original .nii images with SPM12 'Segmentation' function. Extract Brain areas with multiplying masks(c1,c2,c3 / GM,WM,CSF) with original images.

Training Details

For each training, run 12,000 iterations (100 epochs in VAE-GAN)

Each run takes ~12 hour with one NVIDIA TITAN X GPU.

Run the Jupyter Notebook code for training (~train.ipynb)

Test Details

You can download our Pre-trained models in our Google Drive

Download the models and save them in the directory './checkpoint' Then you can run the test code ('Test.ipynb')

Quantitative calculation (MS-SSIM / MMD score) & Image sampling is availble in the code.

For the PCA visualization, please follow the PCA tutorial that Nilearn provides.

Model Details

You can get the detailed settings of used models in our model codes

(Model_alphaGAN.py , Model_alphaWGAN.py , Model_VAEGAN.py, Model_WGAN.py)

Details for Dataset

If you have any question about data, feel free to e-mail me!

[email protected]

3dbraingen's People

Contributors

cyclomon avatar

Watchers

 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.