Medical Imaging Interaction Toolkit
2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
|
MitkFuse3Dto4DImage
is a command-line tool provided by the Medical Imaging Interaction Toolkit (MITK) for fusing a series of 3D images into a 4D image (3D + time). This is particularly useful when creating dynamic datasets from individual time-resolved image acquisitions.
The resulting 4D image can then be further processed as dynamic data in MITK or other compatible platforms.
Argument | Short | Type | Description |
---|---|---|---|
--inputs | -i | List of files | Paths to input 3D image files to be fused. Must have the same geometry. |
--output | -o | File | Output file path for the generated 4D image. |
Argument | Short | Type | Description |
---|---|---|---|
--time | -t | List of numbers | Time bounds in milliseconds. Format: [minBound0 maxBound1 [maxBound2 [...]]] . See examples below. If omitted, a default time geometry is generated with 1 ms per step. |
--help | -h | Flag | Show help and usage information. |
For example, --time 2 3.5 10
used with 2 input images defines:
If the number of time bounds does not match the requirement (number_of_inputs + 1
), the tool will produce an error.
What happens:
image1.nii
, image2.nii
, and image3.nii
into a 4D image. [0 1 2 3]
.Result:
output4D.nrrd
What happens:
Result:
output4D.nrrd
What happens:
All image formats supported by MITK, e.g.:
CAUTION: All input images must have identical geometry (size, spacing, orientation). If the geometries are not equal One can use the apps MITKMapImage and MITKMatchImage to map all images into one referenc geometry (e.g. the first frame).
NRRD (.nrrd) or other formats supported by MITK
The output is a single 4D image (3D+t) combining the input volumes.