|
Medical Imaging Interaction Toolkit
2025.08.00
Medical Imaging Interaction Toolkit
|
MITKFileConverter is a flexible command-line utility for converting medical image data between file formats using the Medical Imaging Interaction Toolkit (MITK). It supports advanced input/output customization using JSON-formatted options, provides control over reader selection, and enables handling of multiple outputs and split volumes.
MITKFileConverter is designed for:
The supported formats depend on the MITK build configuration and plugins, but typically include:
.nrrd, .nii, .nii.gz, .dcm, .ima, .mhd, .mha, etc..nrrd, .nii, .nii.gz, .mhd, .mha, etc.| Argument | Short | Description |
|---|---|---|
--input | -i | Input file or path. May be a single file or a directory (e.g., DICOM folder). |
--output | -o | Output file path. For multiple outputs, index suffixes are added automatically. |
| Argument | Short | Description |
|---|---|---|
--reader | -r | Force a specific reader plugin (by name). |
--list-readers | -lr | Print a list of all available readers for the given input. |
--input-options | JSON dictionary string containing reader-specific options (as key/value pairs). | |
--output-options | JSON dictionary string containing writer-specific options (as key/value pairs). | |
--help | -h | Show help text. |
output_image.nrrd if one object; additional files like output_image_1.nrrd if multiple series/time points are present.{"FancyOption": true}.nrrd files, named image.nrrd, image_1.nrrd, etc.{"useCompression": true}output_image.nii.gzWhen a single input results in multiple outputs (e.g., multi-frame DICOM):
<output>.ext<output>_1.ext, <output>_2.ext, etc.If a volume is split due to missing slices:
Options must be passed as valid JSON strings. Example:
true, false42, 3.14"some string"Invalid types (arrays, objects) are not supported and will cause an error.