GithubHelp home page GithubHelp logo

menelausezzw / data_and_evaluation Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 1.44 MB

Data generation and evaluation metrics (Confluent Vessel Trees with Accurate Bifurcations, CVPR2021)

Python 18.72% CMake 0.24% C++ 79.95% Shell 1.10%

data_and_evaluation's Introduction

data_and_evaluation

Code for generating the dataset and evaluation metrics discussed in Confluent Vessel Trees with Accurate Bifurcations which will appear in CVPR2021. The implementation of the data generation was forked from https://github.com/midas-journal/midas-journal-794 and the original project description is at http://www.insight-journal.org/browse/publication/794.

Instructions for running the evaluation

Python enviroment and dependencies

The script is tested under python 3.5.2. To install the dependencies, run

pip install -r requirements.txt

How to use the code

To obtain the ROC and angular error curves, use the exmaple script eval.sh. The input will be the reconstructed tree in H5 format (Our reconstructed trees (corresponding to the green curve below) are provided here.) and groundtruth in XML format. The output will be the average measure over the 15 volumes and saved in a file named "***Average.csv". This file contains the following variables.

To generate the "On whole tree" ROC curve,

X-axis: 1 - PercentageOfPointsCloserThanRadius
Y-axis: PercentageOfPointsCloserThanRadiusOrig

To generate the "On branching points" ROC curve,

X-axis: 1 - PercentageOfBifurPointsCloserThanRadius
Y-axis: PercentageOfBifurPointsCloserThanRadiusOrig

To generate the angular error plot,

X-axis: ThresholdValue
Y-axis: averageAngleAtBifur

data_and_evaluation's People

Contributors

menelausezzw avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

jiangnanhugo

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.