How vianamp/mitograph works
MitoGraph is a command-line image-processing application for quantifying mitochondrial network morphology. Its principal workflow takes image data and spatial calibration, performs segmentation and skeletonization, derives network measurements, and exports graph, image, text, and VTK results. The README documents input modes, adaptive thresholding, connected-component analysis, and output formats; the main implementation is not excerpted, so internal stage connections are shown as unverified. The repository also includes standalone conversion utilities. Those utility paths are visible in the tree, but their complete behavior was not sampled.
Main entry points: MitoGraph.cxx MitoGraph CLI · MitoThinning.cxx 3D thinning · GraphAnalyzer.R Component analysis · seg2para.cpp Segmentation converter
Components 16
Analysis workflow
- MitoGraph CLI
MitoGraph.cxx - Image input
MitoGraph.cxx
Image and skeleton processing
- Segmentation
MitoGraph.cxx - 3D thinning
MitoThinning.cxx - Thinning API
MitoThinning.h - Skeleton rules
ssThinning.h - Shared data types
includes.h
Measurements and outputs
- Network graph
MitoGraph.cxx - Morphology statistics
MitoGraph.cxx - Component analysis
GraphAnalyzer.R - Analysis files
MitoGraph.cxx - VTK exports
MitoGraph.cxx
Standalone utilities
- Segmentation converter
tools/seg2para/seg2para.cpp - Skeleton image tool
tools/skell2img/skell2img.cxx
Other components
- Researcher
- R runtime
Connections 15
- Researcher → MitoGraph CLI: runs
README.md - MitoGraph CLI → Image input: loads images
- Image input → Segmentation: segments
- Segmentation → 3D thinning: skeletonizes
- 3D thinning → Network graph: forms graph
- Network graph → Morphology statistics: measures
- MitoGraph CLI → Analysis files: exports results
README.md - MitoGraph CLI → VTK exports: exports VTK
README.md - MitoGraph CLI → Component analysis: invokes analysis
README.md - Component analysis → R runtime: requires
README.md - 3D thinning → Thinning API: implements
- 3D thinning → Skeleton rules: uses rules
- MitoGraph CLI → Shared data types: uses types
includes.h - Segmentation converter → Segmentation converter: processes images
tools/seg2para/seg2para.cpp - Skeleton image tool → Skeleton image tool: converts skeletons