|
Medical Imaging Interaction Toolkit
2025.08.00
Medical Imaging Interaction Toolkit
|
This command-line tool converts various medical data types (images, surfaces, and contours) into a multi-label segmentation using the Medical Imaging Interaction Toolkit (MITK).
Features
| Argument | Description |
|---|---|
-i, --inputs | One or more input files (images, surfaces, or contours). |
-o, --output | Output file path for the resulting multi-label segmentation. |
| Argument | Description |
|---|---|
-r, --reference | Reference image for defining the output geometry (required if no image inputs are used). |
-g, --groups | Enable grouping: each input is placed into a separate label group. Default: all inputs are in one group. |
-h, --help | Show help and usage information. |
What happens:
A single binary image is converted to a multi-label segmentation with one label.
Label & Group Naming:
tumor Value 1Resulting Pixel Values:
tumor Value 1: value 1What happens:
Two binary image masks are merged into a single label group.
Label & Group Naming:
mask1 Value 1mask2 Value 1Resulting Pixel Values:
mask1 Value 1: value 1 mask2 Value 1: value 2What happens:
Each surface is rasterized using the reference image and placed in its own group.
Label & Group Naming:
liver: Label liver spleen: Label spleen kidney: Label kidneyResulting Pixel Values:
liver, Label liver: value 1spleen, Label spleen: value 2 kidney, Label kidney: value 3What happens:
Contours are rasterized into a binary mask using the reference image geometry.
Label & Group Naming:
roiResulting Pixel Values:
roi: value 1What happens:
An image containing multiple pixel values (e.g., 1 = liver, 2 = spleen, 3 = kidney) is converted.
Label & Group Naming:
MultiLabelSeg Value 1 MultiLabelSeg Value 2 MultiLabelSeg Value 3Resulting Pixel Values:
MultiLabelSeg Value 1: value 1 MultiLabelSeg Value 2: value 2 MultiLabelSeg Value 3: value 3<filename> Value <pixel_value>.--groups is enabled:--groups is not enabled (default):Value 2), even if actual pixel values are remapped.1.The resulting file is a standard multi-label segmentation in NRRD format: