Code Monkey home page Code Monkey logo

vgn's Introduction

Vessel Graph Network (VGN)

This is the code for "Deep Vessel Segmentation by Learning Graphical Connectivity".

Dependency

  • Python 2.7.12
  • Tensorflow 1.12
  • networkx 2.0
  • scipy 1.1.0
  • mahotas 1.4.3
  • matplotlib 2.2.4
  • easydict 1.7
  • scikit-image 0.14.2
  • scikit-fmm 0.0.9
  • scikit-learn 0.19.0

Datasets

  • The VGN is evaluated on four retinal image datasets, namely the DRIVE, STARE, CHASE_DB1, and HRF datasets, which all are publicly available.
  • The coronary artery X-ray angiography (CA-XRA) dataset we additionally used for evaluation can not be shared regrettably.

Precomputed Results

We provide precomputed results of the VGN on the four retinal image datasets. [OneDrive]

Testing a Model

  1. Download available trained models. [OneDrive]
  2. Run a test script among test_CNN.py, test_CNN_HRF.py, test_VGN.py, or test_VGN_HRF.py, with appropriate input arguments including the path for the downloaded model.

Training a Model

We use a sequential training scheme composed of an initial pretraining of the CNN followed by joint training, including fine-tuning of the CNN module, of the whole VGN. Before the joint training, training graphs must be constructed from vessel probability maps inferred from the pretrained CNN.

CNN Pretraining

(This step can be skipped by using a pretrained model we share.)

  1. Download an ImageNet pretrained model. [OneDrive]
  2. Run train_CNN.py with appropriate input arguments including the path for the downloaded pretrained model.

Training Graph Construction

  1. Run GenGraph/make_graph_db.py.

VGN Training

  1. Place the generated graphs ('.graph_res') and vessel probability images ('_prob.png') inferred from the pretrained CNN in a new directory 'args.save_root/graph'
  2. Run train_VGN.py with appropriate input arguments including the path for the pretrained CNN model.

Demo Videos

Two example results, each of which is from the STARE and CHASE_DB1 datasets. The images in each row from left to right are, the original input image, GT, result. The last column is slowly changed from the baseline CNN result to the VGN result to better show the difference.

Citation

@article{shin_media19,
  title = "Deep vessel segmentation by learning graphical connectivity",
  journal = "Medical Image Analysis",
  volume = "58",
  pages = "101556",
  year = "2019",
  issn = "1361-8415",
  doi = "https://doi.org/10.1016/j.media.2019.101556",
  url = "http://www.sciencedirect.com/science/article/pii/S1361841519300982",
  author = "Seung Yeon Shin and Soochahn Lee and Il Dong Yun and Kyoung Mu Lee",
}

vgn's People

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.