Cancer3.AIAI in OncologyAI Models › TotalSegmentator
Tool Open weights Research use only radiology

TotalSegmentator v2

Command-line tool that segments 117 anatomical structures (v2) in any CT scan with nnU-Net models trained on more than 1,200 clinical CTs — the standard way to get organ masks for radiomics, dose planning and tumour-context features.

At a glance

DeveloperUniversity Hospital Basel
Versionv2
Released2023-07-05
Licenceapache-2.0
AvailabilityOpen weights
KindTool
Regulatory statusResearch use only
Parametersmultiple 3D U-Nets

What it does

pip install and one command: organs, bones, vessels and muscles labelled voxel-wise; separate task models add vertebrae, lung lobes, body composition and more.

Tasks, data types and cancers

Data typeCTMRI
CancerPan-cancer
InputCT (NIfTI/DICOM), any field of view
Outputmulti-label segmentation volume

Architecture

FamilynnU-Net (3D U-Net)
Parametersmultiple 3D U-Nets
Pre-trainingsupervised on curated CT segmentations

Training data

1,204 CT examinations (v1) from routine clinical practice at University Hospital Basel, covering a wide range of pathologies, scanners and protocols; v2 extends the classes and data.

Training set size1,204 CTs (v1)
InstitutionsUniversity Hospital Basel (CH)

Evaluation

Benchmark / datasetMetricValueExternal validationSource
internal test set (v1 paper) Dice 0.943 mean over 104 structures no Source

How to run

pip install TotalSegmentator
TotalSegmentator -i ct.nii.gz -o segmentations/           # 117 structures (v2)
TotalSegmentator -i ct.nii.gz -o seg/ --task body          # extra task models: body, lung_vessels, ...
Librarypip package TotalSegmentator (nnU-Net)
HardwareGPU for full resolution; --fast mode runs on CPU

Regulatory status and intended use

Regulatory statusResearch use only
Intended useResearch tool; not a medical device.

Source →

Regulatory status is quoted from the source linked above and can change. Research-use-only models must not be used for clinical decisions.

Limitations and bias

  • Anatomy, not tumours: it does not segment lesions.
  • Reduced accuracy on very low-dose or heavily artefacted scans.

Sources

  1. Wasserthal J et al. TotalSegmentator: Robust Segmentation of 104 Anatomic Structures in CT Images. Radiology: AI 2023
  2. GitHub — wasserth/TotalSegmentator

This page is educational — it is not medical advice and does not replace consultation with an oncologist. Diagnostic and treatment decisions are made solely by specialist physicians.