Git Product home page Git Product logo

3d-prostate-segmentation's Introduction

3D Prostate Segmentation from MR Images using FCNN

Collaborator: Aman Agarwal, Aditya Mishra

This repository contains files related to Volumetric Segmentation of Prostate from MR Images Using FCNN with Increased Receptive Field, presented at Nvidia GTC 2019 (link). The dataset is provided by PROMISE12 challenge.

DOI 10.1134/S1054661821020024

About the files

  • resizing.py: Converts volume of different sizes to same (128x128x64).
  • DataGenerator.py: For reading the images and performing various augmentations.
  • train.py: File used for training the model.
  • predict.py: File used for inferencing of trained model.
  • metric_eval.py: File for evaluating various metrics using predictions and actual labels. Metrics include Hausdorff distance, dice, boundary distance, volume difference, precision, recall and many more.

Introduction

  • Prostate cancer is among the most commonly diagnosed and leading causes of cancer related death in developed countries.
  • The early detection of prostate cancer plays a significant role in the success of treatment and outcome.
  • Radiologists first segment the prostate image from ultrasound image and then identify the hypoechoic regions which are more likely to exhibit cancer and should be considered for biopsy.
  • Manual segmentation consumes considerable time and effort and is not only operator-dependent, but also tedious and repetitious.
  • In this work we present an appraoch to segment prostate using Fully Convolutional Neural Networks without requiring the involvement of an expert.
  • We were able to obtain results comparable to the state-of-the-art, with the average Dice loss of 0.92 and 0.80 on train and validataion set respectively.

Data

  • In MRI images, the voxel intensities and therefore appearance characteristics of the prostate can greatly differ between acquisition protocols, field strengths and scanners.
  • Therefore a segmentation algorithm designed for use in clinical practice needs to deal with these issues.
  • We decided to use the data from PROMISE12 challenge which included the scans from four different centers
    • Haukeland University Hospital (HK), Norway
    • Beth Israel Deaconess Medical Center (BIDMC), United States
    • University College London (UCL), United Kingdom
    • Radboud University Nijmegen Medical Centre (RUNMC), Netherlands.
  • Each of the centers provided 25 transverse T2-weighted MR images. This resulted in a total of 100 MR images.
  • Details pertaining to the acquisition can be found in the table below.

Implementation

We used a modified V-net architecture for segmentation shown in the figure below.

Training

We trained our model on different GPUs and got the following speedups.

GPU configuration Batch Size Average Time per Epoch (s)
Single K80 2 147
Dual k80 2 (1 per GPU) 102
Single P100 2 48
Single P100 5 27

Evaluation Metrics

The metrics used in this study are widely used for the evaluation of segmentation algorithms:

  1. Dice coefficient: To measure the similarity between output volumes.
  2. Absolute relative volume difference: the percentage of the absolute difference between the volumes.
  3. Average boundary distance: the average over the shortest distances between the boundary points of the volumes.
  4. 95% Hausdorff distance: the maximum of the shortest distances between the boundary points of the volumes. 95% percentile makes the metric less sensitive to outliers.

Results

After training for 5700 epochs we got a dice loss of 0.94 and 0.87 on training and validation set. The results were then submitted to the MICCAI PROMISE12 challenge, and we received a score of 84.61 on the test set.

3d-prostate-segmentation's People

Contributors

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