Giter Club home page Giter Club logo

gcn_refinement's Introduction

Uncertainty Based GCN Refinement Strategy

This repository contains the uncertainty analysis and GCN refinement used in our work "Uncertainty-based Graph Convolutional Networks for Organ Segmentation Refinement".

Overview

Organ segmentation in CT volumes is an important pre-processing step in many computer assisted intervention and diagnosis methods. In recent years, convolutional neural networks have dominated the state of the art in this task. However, since this problem presents a challenging environment due to high variability in the organ’s shape and similarity between tissues, the generation of false negative and false positive regions in the output segmentation is a common issue. Recent works have shown that the uncertainty analysis of the model can provide us with useful information about potential errors in the segmentation. In this context, we proposed a segmentation refinement method based on uncertainty analysis and graph convolutional networks. We employ the uncertainty levels of the convolutional network in a particular input volume to formulate a semi-supervised graph learning problem that is solved by training a graph convolutional network.

Usage and Requirements

The code was tested with python3 and CUDA 9.2. using the Pytorch library. To run the code, clone the repository

$ git clone https://github.com/rodsom22/gcn_refinement.git

and install the required packages:

$ cd gcn_refinement
$ pip install -r requirements.txt

Data Preparation

Download the model and samples and place it into the source/models folder (sample from the pancreas NIH dataset). Then, run the example code

$ cd source
$ python main.py

The process will output a set of files in the source/models folder (you can change by editing the source/path_config.py file) . The .npy files are for internal use. It also outputs the following Nifti files for visualization:

  • volume.nii.gz - The input volume.
  • reference.nii.gz - The ground truth reference.
  • cnn_prediction.nii.gz - The initial CNN prediction.
  • cnn_expectation..nii.gz - CNN expectation.
  • cnn_entropy.nii.gz - Obtained CNN entropy
  • binary_cnn_entropy.nii.gz - Binarized entropy
  • gcn_prediction.nii.gz - GCN refinement.
  • crf_prediction.nii.gz - CRF Refinement.

Citation

If this work is useful for your research, please cite our paper:

@conference{soberanismukul2020refinement,
	    Author = {Roger D. Soberanis-Mukul and Nassir Navab and Shadi Albarqouni},
	    Booktitle = {MIDL},
	    Title = {Uncertainty-based Graph Convolutional Networks for Organ Segmentation Refinement},
            Year = {2020}
}

Acknowledgement

Our GCN is based on the GCN implementation by @tkipf.

We use the CRF implementation of @lucasb-eyer. Please refer to this repository to install pydensecrf.

gcn_refinement's People

Contributors

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