Coder Social home page Coder Social logo

anilgavade / 3d-u-net-prostate-segmentation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jancio/3d-u-net-prostate-segmentation

0.0 0.0 0.0 3.48 MB

Implementation of the 3D U-Net model for segmentation of prostate structures

Jupyter Notebook 100.00%

3d-u-net-prostate-segmentation's Introduction

3D U-Net model for segmentation of prostate structures

In this project, I use the 3D U-Net model to segment prostate structures from the NCI-ISBI 2013 challenge dataset. Given a 3D MRI scan, the aim is to automatically annotate the peripheral zone (PZ) and central gland (CG) regions, as shown in Figure 1.

Figure 1: Segmentation of prostate structures: MRI scan (left) and its annotation (right), where the peripheral zone (PZ) is coloured dark gray, central gland (CG) bright gray, and the background black.

Dataset

# 3D scans Total # scan slices
Training set 60 1544
Validation set 10 261
Test set 10 271

Data pre-processing

In the pre-processing stage, I performed histogram equalisation on the input MR images, in order to increase image contrast. As shown in Figure 2, this technique redistributes pixel intensity values to achieve linear cumulative distribution function.

Figure 2: Example of the employed histogram equalisation.

Data augmentation

Following the 3D U-Net paper, besides random rotations, scalings, and gray value variations, I also performed a smooth dense deformation field augmentation (also known as elastic distortion/transformation). The same random deformation was applied to a voxel tile and its annotation, as shown in Figure 3.

All data augmentations were performed in the pre-processing stage as it allowed faster training, although at the expense of higher memory requirements (when compared to the augmentation on-the-fly).

Figure 3: Example of elastic deformation used for data augmentation.

Results

The best and the worst predictions are shown in Figures 4 and 5 respectively.

Figure 4: The test scan with the highest score (in terms of Intersection Over Union), i.e. the best prediction.

Figure 5: The test scan with the lowest score (in terms of Intersection Over Union), i.e. the worst prediction.

3d-u-net-prostate-segmentation's People

Contributors

jancio 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.