Dicom Segmentation Api
Deploy and manage medical image segmentation using TotalSegmentator and MONAI with DICOM upload, batch processing, 3D export, and statistics generation.
Latest: v1.0.0
Initial release of DICOM Segmentation API.
- Integrates TotalSegmentator (117 body structures) and MONAI models for medical image segmentation.
- Provides FastAPI server for handling DICOM uploads and segmentation tasks.
- Supports batch processing, 3D model export (GLB), and statistics generation.
- Includes endpoints for file upload, task status, results retrieval, and health checks.
- Runs on Python 3.8+ with optional CUDA GPU acceleration.
DICOM Segmentation API
Deploy medical image segmentation API using TotalSegmentator and MONAI.
Features
- TotalSegmentator integration (117 body structures)
- MONAI workflow support
- Fast API server
- DICOM file upload
- 3D model export (GLB format)
- Statistics generation
- Batch processing
Usage
# Start server
python api_server.py
# Or with custom port
python api_server.py --port 8000
API Endpoints
POST /api/segment- Upload DICOM for segmentationGET /api/task/{task_id}- Get task statusGET /api/result/{task_id}- Get segmentation resultGET /health- Health check
Requirements
- Python 3.8+
- CUDA (optional, for GPU acceleration)
- 8GB RAM minimum
Models
- TotalSegmentator: 117 body structures
- MONAI: whole-body-3mm, organ, tumor models
Author
Sunshine-del-ux
