Git Product home page Git Product logo

2d-and-3d-deep-autoencoder's Introduction

2D-and-3D-Deep-Autoencoder

Convolutional AutoEncoder application on MRI images

Application of a deep convolutional autoencoder network on MRI images of knees. The MRI database used was provided by Imperial College London, however similar databases can be found on the OAI website (http://www.oai.ucsf.edu/), an observational study dedicated to monitor the natural evolution of osteoarthritis. The original dataset was comprised of 3D images of 160x64x64 from 180 patients. The 2D dataset used in this project combined the images coming from different patients into 28800 2D black&white MRI images of size 64x64. The 3D dataset has a shape of 180x1x160x64x64.

Prerequisites

  • Python, Lasagne (developer version), Theano (developer version), Numpy, Matplotlib, scikit-image
  • NVIDIA GPU (5.0 or above)

Architectures

  • 2D CAE

alt text

  • 3D CAE

alt text

Results

2D CAE

The hyperparameters used were:

  • a learning rate of 0.0005
  • a decay rate of 0.5
  • a batch size of 128 images
  • a z space of 100

The network was trained using 100 epochs (22500 iterations).

  • Comparison between input images (top) and decoded images (bottom)

alt text

  • Loss function for 2D CAE

alt text

3D CAE

Since 180 3D images were considered, the network was trained on 500 epochs with a batchsize of 4 images. A larger batchsize could not be used due to GPU memory constraints. Better results might be obtained by tweaking these hyperparameters. In order to quickly visualize and monitor the results, different depths of the 3D images were extracted and compared with the original images at the same depth.

  • Results for 3D CAE

alt text

  • Traning evolution 3D CAE

alt text

  • Loss function for 3D CAE

alt text

License

This project is licensed under Imperial College London.

Acknowledgements

The CAE model used in this application was granted by Antonia Creswell and can be found here: https://github.com/ToniCreswell/ConvolutionalAutoEncoder

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.