itk_patch_morphology_mc
Multi-channel patch-based segmentation.
itk_patch_morphology_mc <input1> [input2] ... [inputN] [options]
DESCRIPTION
itk_patch_morphology_mc performs multi-channel patch-based segmentation, extending the single-channel itk_patch_morphology method to use multiple input contrasts simultaneously. Each input channel provides complementary information (e.g., T1, T2, PD), and patches are compared across all channels jointly to improve segmentation accuracy.
Channel contributions can be controlled using the --weights option to assign relative importance to each input. The tool uses the same non-local means framework as itk_patch_morphology, with exponential weighting of patch similarity across all channels.
OPTIONS
--traindata- Training library specification file containing multi-channel image paths and labels.
--verbose- Print progress information during processing.
--quiet- Suppress all output messages.
--clobber- Overwrite the output file if it already exists.
--maskfile- Restrict processing to voxels within the specified mask.
--patchn- Patch radius in voxels (default: 1).
--searchn- Search radius in voxels (default: 1).
--clsoutput- Write the discrete classification output to the specified file.
--betaf- Smoothing parameter for exponential weighting (default: 0.125).
--scalingf- Apply intensity scaling factor to patches before comparison.
--discreten- Number of discrete classes (default: 2).
--confidence- Output confidence (weight) maps.
--adist- Output average distance maps.
--grading- Output grading score maps.
--itern- Number of iterations for iterative refinement (default: 50).
--extractn- Extract features from the specified label.
--topn- Use only the top n most similar training patches.
--float- Store output voxels as single-precision floating point.
--short- Store output voxels as short integer.
--byte- Store output voxels as unsigned byte.
--box- Use a box-shaped (cubic) search neighbourhood.
--ball- Use a ball-shaped (spherical) search neighbourhood.
--prelabel- Use pre-existing labels to guide the segmentation.
--probprefix- Write per-class probability maps with the given filename prefix.
--outputlabels- Write the output label volume to the specified file.
--weightsw1,w2,…- Comma-separated weights for each input channel.
--groupsn- Number of training groups.
--thresholdd- Threshold for minimum patch similarity.
EXAMPLES
# Multi-channel segmentation with T1 and T2
itk_patch_morphology_mc t1.mnc t2.mnc --train library.csv \
--output labels.mnc --mask brain_mask.mnc
# With custom channel weights
itk_patch_morphology_mc t1.mnc t2.mnc pd.mnc --train library.csv \
--output labels.mnc --weights 1.0,0.5,0.3
# Output probability maps
itk_patch_morphology_mc t1.mnc t2.mnc --train library.csv \
--output labels.mnc --prob prob_ --float
AUTHOR
Vladimir S. Fonov - McConnell Brain Imaging Centre, Montreal Neurological Institute.
COPYRIGHTS
Copyright © 2009-2024 by Vladimir S. Fonov