|
Medical Imaging Interaction Toolkit
2025.08.00
Medical Imaging Interaction Toolkit
|
MitkGenericFitting is a command-line tool for fitting model functions to time-resolved imaging data (3D+t). It supports voxel-wise or region-based fitting using a mask and produces parameter images as output.
Supported image types for input include .nrrd, .nii, and DICOM files.
y = a + b*t--function Lineara, b)y = a * exp(-b*x)Remarks
| Argument | Short | Type | Description |
|---|---|---|---|
--input | -i | file | Input dynamic image (3D+t). |
--output | -o | file | Output template file path for resulting parameter images. File extensions determine output format. |
--function | -f | string | Model type: "Linear" or "Generic-2" for generic 2 parameter model. Default is Linear. |
| Argument | Short | Type | Description |
|---|---|---|---|
--formular | -y | string | Model formula string (required for generic models). |
--mask | -m | file | Binary mask image defining ROI. Required for ROI-based fitting. |
--roibased | -r | flag | Use ROI-based fitting (fit mean signal in mask). |
--verbose | -v | flag | Enable verbose output. |
--help | -h | flag | Show help text. |
For each fitted model parameter, a separate image will be created. The output filenames will be based on the --output template plus a suffix per parameter (e.g., _Param_0.nrrd, _Param_1.nrrd).
A fitting summary and evaluation metric image (e.g., Chi^2) will also be generated.
Description:
Performs voxel-wise fitting of a linear model on dyn.nrrd.
Naming Strategy:
linFit_y-intercept.nrrd (intercept), linFit_slope.nrrd (slope)Generated Values:
Description:
Fits an exponential decay model to each voxel.
Naming Strategy:
expFit_a.nrrd (a), expFit_b.nrrd (b)Generated Values:
Description:
Fits a linear model to the mean curve inside the mask.
Naming Strategy:
roiLinFit_y-intercept.nrrd (intercept), roiLinFit_slope.nrrd (slope)Generated Values: