How pavanchougaladev/anato3d works
Anato3D turns imported DICOM series into geometry-checked volumes, segmentation revisions, physical meshes, and validation/export artifacts. Users begin in the dashboard, import and review a series, then reconstruct, segment, inspect meshes, and validate/export through the web UI; long-running work is handled by jobs. The graph preserves the README’s major pipeline capabilities. Some subsystem links are based on README workflow statements or SOURCE INDEX references rather than complete excerpts, so unsampled implementation details are not inferred.
Main entry points: handlers.py Pipeline handlers · App.tsx Workspace router · volume_builder.py Volume reconstruction · client.ts Typed API client
Components 34
Web experience
- Workspace router
frontend/src/App.tsx - Project dashboard
frontend/src/pages/Dashboard.tsx - Import workspace
frontend/src/components/ImportPanel.tsx - Typed API client
frontend/src/api/client.ts - Segmentation editor
frontend/src/pages/SegmentationEditor.tsx - Slice viewer
frontend/src/imaging-viewer/SliceViewport.tsx - Mesh inspection
frontend/src/pages/MeshInspection.tsx - Mesh viewport
frontend/src/imaging-viewer/MeshViewport.tsx - Validation export
frontend/src/pages/ValidationExport.tsx
API and jobs
- FastAPI application
backend/api/app.py - Core API routes
backend/api/routes/core.py - Viewer routes
backend/api/routes/viewer.py - Job worker
backend/jobs/worker.py - Pipeline handlers
backend/jobs/handlers.py - Job state machine
backend/jobs/state_machine.py
DICOM and volume
- DICOM import
backend/dicom/importer.py - DICOM metadata
backend/dicom/metadata.py - Geometry analysis
backend/dicom/geometry.py - Geometry QA
backend/dicom/quality_checks.py - Volume reconstruction
backend/reconstruction/volume_builder.py
Segmentation and mesh
- Baseline segmentation
backend/segmentation/baseline.py - Mask correction
backend/segmentation/correction.py - AI inference
backend/segmentation/inference.py - Foundation models
backend/segmentation/foundation.py - Mask storage
backend/segmentation/mask_io.py - Surface generation
backend/mesh/generate.py - Mesh export
backend/mesh/export.py - Mesh QA
backend/mesh/validate.py
State and validation
- Validation metrics
backend/evaluation/metrics.py - Validation reports
backend/evaluation/report.py - Domain records
backend/database/models.py - Database sessions
backend/database/session.py - Artifact storage
backend/storage.py
Other components
- Research user
Connections 48
- Research user → Workspace router: uses
- Workspace router → Project dashboard: routes to
frontend/src/App.tsx - Workspace router → Import workspace: routes to
frontend/src/App.tsx - Workspace router → Segmentation editor: routes to
frontend/src/App.tsx - Workspace router → Mesh inspection: routes to
frontend/src/App.tsx - Workspace router → Validation export: routes to
frontend/src/App.tsx - Workspace router → Typed API client: requests data
frontend/src/App.tsx - Import workspace → Typed API client: uploads series
frontend/src/components/ImportPanel.tsx - Segmentation editor → Typed API client: requests data
frontend/src/pages/SegmentationEditor.tsx - Segmentation editor → Slice viewer: renders slices
frontend/src/pages/SegmentationEditor.tsx - Mesh inspection → Typed API client: requests data
frontend/src/pages/MeshInspection.tsx - Mesh inspection → Mesh viewport: renders mesh
frontend/src/pages/MeshInspection.tsx - Typed API client → FastAPI application: calls API
- FastAPI application → Core API routes: registers
backend/api/app.py - FastAPI application → Viewer routes: registers
backend/api/app.py - FastAPI application → Job worker: starts optionally
backend/api/app.py - Core API routes → Pipeline handlers: queues work
- Viewer routes → Surface generation: serves mesh data
backend/api/routes/viewer.py - Viewer routes → Volume reconstruction: serves slices
backend/api/routes/viewer.py - Job worker → Pipeline handlers: dispatches jobs
backend/jobs/worker.py - Pipeline handlers → Job state machine: transitions jobs
backend/jobs/handlers.py - Pipeline handlers → DICOM import: imports series
backend/jobs/handlers.py - Pipeline handlers → Geometry QA: checks geometry
backend/jobs/handlers.py - Pipeline handlers → Volume reconstruction: builds volume
backend/jobs/handlers.py - Pipeline handlers → Baseline segmentation: runs segmentation
backend/jobs/handlers.py - Pipeline handlers → AI inference: runs inference
backend/jobs/handlers.py - Pipeline handlers → Mask storage: loads masks
backend/jobs/handlers.py - Pipeline handlers → Surface generation: generates surface
backend/jobs/handlers.py - Pipeline handlers → Mesh export: exports mesh
backend/jobs/handlers.py - Pipeline handlers → Mesh QA: checks mesh
backend/jobs/handlers.py - Pipeline handlers → Validation metrics: computes metrics
backend/jobs/handlers.py - Pipeline handlers → Validation reports: builds report
backend/jobs/handlers.py - DICOM import → DICOM metadata: parses instances
backend/dicom/importer.py - DICOM import → Geometry analysis: orders slices
backend/dicom/importer.py - DICOM metadata → Geometry analysis: validates orientation
backend/dicom/metadata.py - Geometry QA → Geometry analysis: analyzes spacing
backend/dicom/quality_checks.py - Volume reconstruction → DICOM metadata: reads pixels
backend/reconstruction/volume_builder.py - Volume reconstruction → Geometry analysis: orders slices
backend/reconstruction/volume_builder.py - Baseline segmentation → Mask correction: uses corrections
backend/segmentation/baseline.py - Foundation models → AI inference: delegates inference
backend/segmentation/foundation.py - Mesh export → Surface generation: exports generated
backend/mesh/export.py - Mesh QA → Surface generation: validates mesh
backend/mesh/validate.py - Validation reports → Validation metrics: formats metrics
backend/evaluation/report.py - Database sessions → Domain records: creates tables
backend/database/session.py - DICOM import → Artifact storage: stores source
backend/dicom/importer.py - Volume reconstruction → Artifact storage: writes sidecar
backend/reconstruction/volume_builder.py - Mask storage → Artifact storage: stores masks
backend/segmentation/mask_io.py - Mesh export → Artifact storage: stores exports
backend/mesh/export.py