# wasserth/totalsegmentator

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/wasserth-totalsegmentator).**

2,482 stars · 398 forks · Python · apache-2.0

## Links

- GitHub: https://github.com/wasserth/TotalSegmentator
- awesome-repositories: https://awesome-repositories.com/repository/wasserth-totalsegmentator.md

## Description

TotalSegmentator is a medical image segmentation tool and AI-driven organ segmenter designed to isolate anatomical structures from CT scans. It functions as a deep learning anatomy parser and quantitative radiomics analyzer, providing a framework for identifying diverse body tissues and bones to create precise anatomical masks.

The system distinguishes itself through a comprehensive medical analysis suite that includes patient biometric estimation for demographics such as age, sex, weight, and height. It further provides specialized clinical index calculations and modality and phase classification to ensure appropriate processing of medical scans.

The project covers a broad capability surface including automated medical imaging workflow preprocessing, custom model training and evaluation pipelines, and quantitative anatomical analysis. It also provides utilities for anatomical body cropping, segmentation mask aggregation, and the generation of 3D segmentation previews for visual verification.

The tool supports offline image processing through local model weight management, enabling execution in air-gapped environments.

## Tags

### Artificial Intelligence & ML

- [Medical Image Segmentations](https://awesome-repositories.com/f/artificial-intelligence-ml/medical-image-segmentations.md) — Isolates organs and tissues in medical scans using neural networks to create precise anatomical masks for analysis.
- [Anatomy Parsers](https://awesome-repositories.com/f/artificial-intelligence-ml/anatomy-parsers.md) — Identifies and delineates diverse body tissues and bones for clinical analysis using neural networks.
- [Automated Medical Imaging Pipelines](https://awesome-repositories.com/f/artificial-intelligence-ml/automated-medical-imaging-pipelines.md) — Automates medical imaging preprocessing by removing background noise and identifying contrast phases.
- [High-Resolution Sub-segmentation](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-systems/image-segmentation/high-resolution-sub-segmentation.md) — Runs specialized models on cropped image regions to extract high-resolution details for specific tissues. ([source](https://github.com/wasserth/TotalSegmentator/tree/v1.5.7))
- [Organ Segmentation Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-systems/image-segmentation/organ-segmentation-frameworks.md) — Provides a framework for automated multi-organ segmentation that supports custom model training and evaluation.
- [Segment Quantitative Analysis](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-systems/image-segmentation/segment-quantitative-analysis.md) — Computes volume and mean intensity from segmented masks to derive quantitative anatomical measurements and clinical indices.
- [Segmentation Model Training](https://awesome-repositories.com/f/artificial-intelligence-ml/computer-vision-systems/image-segmentation/segmentation-model-training.md) — Provides frameworks for executing the training of instance segmentation models on custom medical datasets. ([source](https://github.com/wasserth/TotalSegmentator/tree/v1.5.7))
- [Model Training Pipelines](https://awesome-repositories.com/f/artificial-intelligence-ml/model-training-pipelines.md) — Implements end-to-end workflows to convert medical imaging datasets and train custom organ segmentation models. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/resources/train_nnunet.md))
- [Demographic Estimation](https://awesome-repositories.com/f/artificial-intelligence-ml/demographic-estimation.md) — Uses neural networks to predict human attributes such as age, gender, weight, and height from imaging data. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/resources/body_stats_prediction.md))
- [Inference Performance Optimization](https://awesome-repositories.com/f/artificial-intelligence-ml/inference-performance-optimization.md) — Optimizes inference by using a low-resolution model to isolate regions of interest before high-resolution processing. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/resources/improvements_in_v2.md))
- [Cascaded Resolution Inference](https://awesome-repositories.com/f/artificial-intelligence-ml/inference-scaling/resolution-scaling/resolution-independent-inference/cascaded-resolution-inference.md) — Optimizes memory and compute by using a low-resolution model to locate target anatomical areas before high-resolution processing.
- [Multi-Stage Sub-segmentations](https://awesome-repositories.com/f/artificial-intelligence-ml/neural-networks/image-segmentations/multi-stage-sub-segmentations.md) — Runs specialized models on cropped image regions to extract high-resolution details for specific tissues.
- [Medical Imaging Training Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/pytorch-training-frameworks/medical-imaging-training-frameworks.md) — Provides a pipeline for developing and evaluating new segmentation models using specialized medical datasets.
- [Segmentation Visualizations](https://awesome-repositories.com/f/artificial-intelligence-ml/segmentation-visualizations.md) — Creates 3D renderings of identified anatomical classes for rapid visual verification of segmentation accuracy. ([source](https://github.com/wasserth/TotalSegmentator/tree/v1.5.7))

### Graphics & Multimedia

- [Medical Image Segmentations](https://awesome-repositories.com/f/graphics-multimedia/medical-image-segmentations.md) — Provides a comprehensive tool for isolating organs and anatomical structures from CT scans using deep learning models.
- [Medical Modality Classification](https://awesome-repositories.com/f/graphics-multimedia/medical-modality-classification.md) — Analyzes median intensity of key structures to determine imaging modality and contrast phase before processing.
- [Anatomical Image Cropping](https://awesome-repositories.com/f/graphics-multimedia/anatomical-image-cropping.md) — Removes background noise and non-body areas from scans to focus processing on patient anatomy. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/setup.py))
- [Contrast Phase Identification](https://awesome-repositories.com/f/graphics-multimedia/contrast-phase-identification.md) — Analyzes scans to determine which contrast phase was used during image acquisition. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/README.md))
- [Cardiac Segmentation](https://awesome-repositories.com/f/graphics-multimedia/medical-image-segmentations/cardiac-segmentation.md) — Delineates heart chambers in high-resolution scans using both contrast and non-contrast data. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/resources/heartchambers_highres_details.md))
- [Medical Imaging Modality Identification](https://awesome-repositories.com/f/graphics-multimedia/medical-imaging-modality-identification.md) — Determines scan types and imaging modalities by analyzing the characteristics of the image. ([source](https://github.com/wasserth/TotalSegmentator#readme))

### Part of an Awesome List

- [Segmentation Evaluation Metrics](https://awesome-repositories.com/f/awesome-lists/ai/3d-detection-and-segmentation/segmentation-evaluation-metrics.md) — Calculates performance metrics by comparing predicted anatomical labels against ground truth medical data. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/resources/train_nnunet.md))
- [Biometric Predictions](https://awesome-repositories.com/f/awesome-lists/ai/statistical-and-predictive-models/biometric-predictions.md) — TotalAI estimates weight, size, age, sex, and mass indices from medical scans. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/README.md))
- [Medical Imaging and Analysis](https://awesome-repositories.com/f/awesome-lists/ai/medical-imaging-and-analysis.md) — Classifies imaging modalities and contrast phases to ensure the correct segmentation pipeline is applied. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/README.md))
- [Anatomical Statistics Reports](https://awesome-repositories.com/f/awesome-lists/data/report-generation/anatomical-statistics-reports.md) — Produces detailed reports containing runtime statistics, output file lists, and anatomical voxel counts. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/AGENTS.md))

### Data & Databases

- [Patient Demographic Analysis](https://awesome-repositories.com/f/data-databases/patient-demographic-analysis.md) — Predicting patient age, sex, weight, and height directly from medical imaging data using automated anatomical analysis. ([source](https://github.com/wasserth/TotalSegmentator#readme))

### Scientific & Mathematical Computing

- [Radiomics Feature Extraction](https://awesome-repositories.com/f/scientific-mathematical-computing/numerical-mathematical-foundations/statistics-probability/statistical-analysis-libraries/statistical-metric-calculators/radiomics-feature-extraction.md) — TotalAI computes volume, mean intensity, and radiomics features to quantify anatomical characteristics. ([source](https://github.com/wasserth/TotalSegmentator/tree/v1.5.7))
- [Clinical Index Calculations](https://awesome-repositories.com/f/scientific-mathematical-computing/clinical-index-calculations.md) — TotalAI computes a specific ventricular enlargement index from skull images. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/README.md))
- [Clinical Measurement Tracking](https://awesome-repositories.com/f/scientific-mathematical-computing/clinical-measurement-tracking.md) — Computes quantitative clinical measurements such as vessel diameter and ventricular enlargement indices. ([source](https://github.com/wasserth/TotalSegmentator#readme))

### Business & Productivity Software

- [Health Metric Calculators](https://awesome-repositories.com/f/business-productivity-software/health-metric-calculators.md) — Computes health-related indices, such as mass and surface area, based on predicted patient biometrics. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/resources/body_stats_prediction.md))

### Hardware & IoT

- [RF Phase Analysis](https://awesome-repositories.com/f/hardware-iot/rf-phase-analysis.md) — Classifies images into specific contrast phases by analyzing the median intensity of anatomical structures. ([source](https://github.com/wasserth/TotalSegmentator/blob/master/resources/contrast_phase_prediction.md))
