https://github.com/alleninstitute/pygraphteasar

A library for running the TEASAR algorithm on spatial graphs embedded using scipy csgraph operations.

https://github.com/alleninstitute/pygraphteasar

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A library for running the TEASAR algorithm on spatial graphs embedded using scipy csgraph operations.

Basic Info
  • Host: GitHub
  • Owner: AllenInstitute
  • License: other
  • Language: Python
  • Default Branch: main
  • Size: 52.7 KB
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme License

README.md

Documentation Status Python package tests

GraphTEASAR

GraphTEASAR is a Python library for running the TEASAR algorithm on spatial graphs for skeletonization. It provides a graph generalization of the TEASAR algorithm, which was originally designed to run on voxelized data but can be applied to any abstract graph with weights.

GraphTEASAR implements a version of the basic core TEASAR approach on abstract graphs and provides functions to make it easy to run the algorithm on spatial graphs, such as meshes, where the vertices represent points in space and the weights are the Euclidean distance between vertices. The TEASAR algorithm defined alternative distance metrics within a graph to drive the cost of traversing the graph towards the center of the object, resulting in an accurate and robust skeletonization. GraphTEASAR operates on the spatial graph, and so runs along the outside of the object.

Installation

To install GraphTEASAR, you can use pip:

pip install GraphTEASAR

Or you can clone the repository and install it locally:

git clone https://github.com/AllenInstitute/PyGraphTEASAR.git
cd PyGraphTEASAR
pip install .

Usage

GraphTEASAR provides functions for running the algorithm on different types of data. Depending on your problem, you might want to interface with the core graph TEASAR directly or use the convenience functions provided.

The documentation provides an introduction to the different levels you might interface with the algorithm, depending on what type of data you are working with and what your ultimate application is.

References

Sato, M., Bitter, I., Bender, M. A., Kaufman, A. E., & Nakajima, M. (n.d.). TEASAR: tree-structure extraction algorithm for accurate and robust skeletons. In Proceedings the Eighth Pacific Conference on Computer Graphics and Applications. IEEE Comput. Soc. https://doi.org/10.1109/pccga.2000.883951

Contributing

If you find a bug or have a feature request, please create an issue on the GitHub repository. If you would like to contribute code, please fork the repository and submit a pull request.

License

GraphTEASAR is released under the Allen Institute Software License. See the LICENSE file for details.

Owner

  • Name: Allen Institute
  • Login: AllenInstitute
  • Kind: organization
  • Location: Seattle, WA

Please visit http://alleninstitute.github.io/ for more information.

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 36
  • Total Committers: 1
  • Avg Commits per committer: 36.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Forrest Collman f****n@g****m 36

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • koenterheegde0507 (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels