A web-based tool for proofreading mitochondria segmentation skeletons with interactive 3D visualization and Neuroglancer integration.
⚠️ Note: This project is currently under active development.
✨ Interactive 3D Skeleton Visualization - View and interact with mitochondria skeletons in 3D
🔗 Neuroglancer Integration - Navigate directly to positions in the original EM data
📊 Cell-Based Filtering - Group and filter mitochondria by cell ID
⚡ Node Classification - Label branch nodes as correct or incorrect
📈 Progress Tracking - Monitor annotation progress with live statistics
🔍 Advanced Filtering - Filter by status, cell, size, and node count
# Navigate to project directory
cd /groups/cellmap/cellmap/zouinkhim/skelaton_classifier
# Activate virtual environment
source .venv/bin/activate
# Install dependencies
pip install flask networkx numpy neuroglancer
# Run the application
python app.pyAccess at http://localhost:5001
- Select Dataset → Choose from available C. elegans datasets
- Filter Segments → Filter by cell ID, size, or annotation status
- Annotate Nodes → Label branch nodes as correct (Y) or incorrect (N)
- Navigate Data → Click nodes to jump to position in Neuroglancer
- Track Progress → Monitor completion statistics in real-time
{
"neuroglancer_split_ratio": 70.0, // Graph vs Neuroglancer split
"only_branches": true, // Annotate only branch nodes
"autofilter": true, // Enable cell-based filtering
"get_top": 100, // Top N mitochondria per cell
"biggest": true // Get biggest (true) or smallest (false)
}Configure datasets with Neuroglancer URLs and metadata:
{
"jrc_c-elegans-bw-1": {
"name": "C. elegans BW-1",
"neuroglancer_url": "https://neuroglancer-demo.appspot.com/...",
"description": "C. elegans dataset"
}
}- Filter by cell ID to focus on specific cells
- Hide segments with 0 nodes automatically
- Sort by volume, cell, or annotation progress
- Pagination for large datasets
- Annotations saved per segment (JSON format)
- Progress tracking with statistics
- Support for multiple C. elegans datasets
- Integration with CellMap data structure
Y- Mark node as correctN- Mark node as incorrect- Click nodes → Auto-navigate to Neuroglancer
app.py # Flask application & routes
skeleton_parser.py # Skeleton file parser & filtering
neuroglancer_manager.py # Neuroglancer integration
config.json # Application settings
datasets.json # Dataset configurations
outputs/ # Per-dataset annotation files
└── {dataset}/
├── segments/
│ └── {segment_id}_node_labels.json
└── segment_labels.json
BSD 3-Clause License - Copyright (c) 2024, Howard Hughes Medical Institute. See LICENSE for details.
Status: 🚧 Under Active Development
CellMap Project | Mitochondria Segmentation Research

