Skip to main content

TotalSegmentatorParams

AI Segmentation

Configuration parameters for TotalSegmentator AI model.

Import

import ScriptingApi as api

# Create parameter instance
params = api.TotalSegmentatorParams()

Properties

task

Segmentation task to perform (e.g., 'total', 'body', 'total_mr'). The default is 'total'.

Type: str


device

Processing device ('cpu' or 'gpu'). The default is 'cpu'.

Type: str


fast

Enable fast processing mode (lower quality, faster execution). The default is False.

Type: bool


fastest

Enable fastest processing mode (lowest quality, fastest execution). The default is False.

Type: bool


roi_subset

Optional subset of regions of interest to segment (space-separated names). The default is empty (segment all).

Type: str


See Also