Giter Club home page Giter Club logo

vessel_graph_pipeline's Introduction

VesselGraph Pipeline

This prepository hosts source code for an automated voreen-based pipeline covering graph generation, post processing, atlas annotation and statistical analysis.

Workflow

Install voreen to your local linux machine, following the installation instructions.

Required input files:

BL6J-3mo-4-iso3um_probs_bin0p45.nii.gz (segmentation mask)

Optional:

BL6J-3mo-4-iso3um_probs_bin0p45_regions.nii.gz (atlas annotation mask)

Pipeline Steps:

  1. unzip NIFTI files
  2. run voreen on the segmentation mask
  3. post-process and merge voreen results
  4. annotate post-processed graph to alan mouse brain atlas
  5. compute statistics
  6. remove unzipped NIFTI files

Run Pipeline:

python3 run.py -vp /home/home/johannes_julian/voreen/binaries/voreen-src-unix-nightly/bin --segmentation_mask BL6J-12mo-10_iso3um_probs_bin0p49.nii.gz --atlas_mask BL6J-12mo-10_iso3um_probs_bin0p49_regions.nii.gz

Output:

BL6J-3mo-4-iso3um_probs_bin0p45_b_3_0_nodes.csv (raw graph nodes voreen)
BL6J-3mo-4-iso3um_probs_bin0p45_b_3_0_edges.csv (raw graph edges voreen)
BL6J-3mo-4-iso3um_probs_bin0p45_b_3_0_nodes_processed.csv (post-processed graph nodes voreen)
BL6J-3mo-4-iso3um_probs_bin0p45_b_3_0_edges_processed.csv (post-processed graph edges voreen)
BL6J-3mo-4-iso3um_probs_bin0p45_b_3_0_nodes_processed_atlas.csv (post-processed, Atlas-annotated node list)
BL6J-3mo-4-iso3um_probs_bin0p45_b_3_0_nodes_processed_atlas_grouped.csv (post-processed, reduced Atlas-annotated node list)
BL6J-3mo-4-iso3um_probs_bin0p45_b_3_0_nodes_processed_atlas_encoded.csv (one-hot encoded region file)
BL6J-3mo-4-iso3um_probs_bin0p45_b_3_0_stats_vmin_5_0_cmin_3_cmax_15.csv(statistics w.r.t. closed loops and edge length)

Analysis

  • Provides methods for computing the number of closed loops.

Atlas Annotation

  • Annotation to Alan Mouse Brain Atlas.

Post Processing

  • Provides script to merge vessels in voreen-based graph extraction.
  • The exact method is described in greater detail in our paper arXiv link.

Visualization

  • Jupyter Notebooks for visualization processes.

Visualization Scripts

  • Provides visualization scripts in order to render graph as vtk graphs.

Citation

@misc{paetzold2021brain,
      title={Whole Brain Vessel Graphs: A Dataset and Benchmark for Graph Learning and Neuroscience (VesselGraph)}, 
      author={Johannes C. Paetzold and Julian McGinnis and Suprosanna Shit and Ivan Ezhov and Paul Büschl and Chinmay Prabhakar and Mihail I. Todorov and Anjany Sekuboyina and Georgios Kaissis and Ali Ertürk and Stephan Günnemann and Bjoern H. Menze},
      year={2021},
      eprint={2108.13233},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

Please cite this work if any of our code or datasets are helpful for your research.

vessel_graph_pipeline's People

Contributors

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