Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::TotalSegmentator Namespace Reference

Functions

MITKPYTHONSEGMENTATIONUI_EXPORT PipInstallSpec BuildInstallSpec (const std::string &venvName)
 Builds the pip install spec for a fresh TotalSegmentator install. More...
 

Variables

constexpr const char * REQUIRED_VERSION
 The exact TotalSegmentator release this MITK build installs and requires. More...
 
constexpr const char * VENV_NAME
 Name of the managed virtual environment created under the MITK venv base path. More...
 

Function Documentation

◆ BuildInstallSpec()

MITKPYTHONSEGMENTATIONUI_EXPORT PipInstallSpec mitk::TotalSegmentator::BuildInstallSpec ( const std::string &  venvName)

Builds the pip install spec for a fresh TotalSegmentator install.

Installs PyTorch (from the CUDA wheel index on Windows) and the pinned TotalSegmentator release, then dumps the per-task label maps to a JSON file inside the environment so the tool can name output labels without parsing the package source.

Variable Documentation

◆ REQUIRED_VERSION

constexpr const char* mitk::TotalSegmentator::REQUIRED_VERSION
inlineconstexpr

The exact TotalSegmentator release this MITK build installs and requires.

Pinned exactly (not a range) because TotalSegmentator ships breaking changes even in minor releases. Bumping it here means a new release cycle picks up the newer version; existing environments can be updated in place.

Definition at line 32 of file mitkTotalSegmentatorInstall.h.

◆ VENV_NAME

constexpr const char* mitk::TotalSegmentator::VENV_NAME
inlineconstexpr

Name of the managed virtual environment created under the MITK venv base path.

Definition at line 35 of file mitkTotalSegmentatorInstall.h.