Skip to content

Multiple articulator segmentation on airway images using transfer learning and U-net.

Notifications You must be signed in to change notification settings

eksubin/U_net_T2_T1_multipleArticulatorSegmentation

Repository files navigation

Transfer learning Architecture -- Unet, using Keras

The architecture was inspired by U-Net: Convolutional Networks for Biomedical Image Segmentation.


Overview

Data

Data augmentation

The data for training contains 30 512*512 images, which are far not enough to feed a deep learning neural network. I use a module called ImageDataGenerator in keras.preprocessing.image to do data augmentation.

See dataPrepare.ipynb and data.py for detail.

Model

This deep neural network is implemented with Keras functional API, which makes it extremely easy to experiment with different interesting architectures.

Output from the network is a 512*512 which represents mask that should be learned. Sigmoid activation function makes sure that mask pixels are in [0, 1] range.

Training

The model is trained for 5 epochs.

After 5 epochs, calculated accuracy is about 0.82.

Loss function for the training is Dice coefficient.


How to use

Dependencies

The dependencies for this project is given as an eviornment file.

  • conda create -f enviornment.yml

Run U-net.ipynb

You will see the predicted results of test image

Results

Use the trained model to do segmentation on test images, the result is statisfactory.

img/0test.png

img/0label.png

About

Multiple articulator segmentation on airway images using transfer learning and U-net.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published