mia-3dmoti...a-nonrigid(1)
π NAME π
okay so bestie, welcome to mia-3dmotioncompica-nonrigid π
β this page lives in the General Commands Manual and it is the main character of non-linear registration. Fr fr.
it does Non-linear registration of a series of 3D images. periodt. π¦
β¨ SYNOPSIS β¨
mia-3dmotioncompica-nonrigid -i <in-file> -o <out-file> [options]
πΈ DESCRIPTION πΈ
so mia-3dmotioncompica-nonrigid implements a 3D version of the motion compensation algorithm described in this paper, no cap π
Wollny G, Kellman P, Santos A, Ledesma-Carbayo M-J, "Automatic Motion Compensation of Free Breathing acquired Myocardial Perfusion Data by using Independent Component Analysis" Medical Image Analysis, 2012
π OPTIONS π
π File-IO
-i,--in-file=(required, input); ioβ the input images, and they have to be consecutively numbered files (nameXXXX.ext). for the supported file types, go peek atPLUGINS:3dimage/ioπ«Ά-o,--out-file=(output, required); ioβ the output image name, written as a C format string that includes a%04dso the file numbering actually works. supported file types again live atPLUGINS:3dimage/ioπ--save-refs=β saves the reference images. the string you give becomes the file name base, the number pattern follows your input images, and the output format is always'vista'.--save-regs=β saves the intermediate registered images. same deal: your string = file name base, numbering follows the input images, output format is always'vista'.--save-coeffs=β saves the mixing matrix to a text file π--save-features=β saves the feature images as PNG πΌοΈ
π Help & Info
-V,--verbose=warningβ how chatty the output is: it prints messages of the given level and higher priorities. the supported priorities, starting at the lowest level, are:traceβ Function call tracedebugβ Debug outputinfoβ Low level messagesmessageβ Normal messageswarningβ Warningsfailβ Report test failureserrorβ Report errorsfatalβ Report only fatal errors
--copyrightβ prints the copyright info-h,--helpβ prints this help-?,--usageβ prints a short help--versionβ prints the version number and dips βοΈ
π§ ICA
--fastica=internalβ which FastICA implementation gets used. for the supported plugins seePLUGINS:fastica/implementation-C,--components=0β ICA components;0means automatic estimation π€--no-normalizeβ don't normalize the ICs--no-meanstripβ don't strip the mean from the mixing curves-k,--skip=0β skip images at the beginning of the series, like when they're from other modalities, we don't want them π«-m,--max-ica-iter=400β maximum number of iterations in ICA
βοΈ Processing
--threads=-1β maximum number of threads to use for processing. this number should be lower or equal to the number of logical processor cores in the machine. (-1: automatic estimation)
π Registration
-O,--optimizer=gsl:opt=gd,step=0.1β the optimizer used for minimization-a,--start-c-rate=32β start coefficient rate in spines; gets divided by--c-rate-dividerwith every pass--c-rate-divider=4β coefficient rate divider for each pass-d,--start-divcurl=20β start divcurl weight; gets divided by--divcurl-dividerwith every pass--divcurl-divider=4β divcurl weight scaling with each new pass-w,--imagecost=image:weight=1,cost=ssd,β image cost-l,--mg-levels=3β multi-resolution levels-P,--passes=3β registration passes
π PLUGINS: 3dimage/io π
analyze
Analyze 7.5 image πΌ
- Recognized file extensions:
.HDR,.hdr - Supported element types:
- unsigned 8 bit, signed 16 bit, signed 32 bit, floating point 32 bit, floating point 64 bit
datapool
Virtual IO to and from the internal data pool π«§
- Recognized file extensions:
.@
dicom
Dicom image series as 3D π©»
- Recognized file extensions:
.DCM,.dcm - Supported element types:
- signed 16 bit, unsigned 16 bit
hdf5
HDF5 3D image IO π¦
- Recognized file extensions:
.H5,.h5 - Supported element types:
- binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, signed 64 bit, unsigned 64 bit, floating point 32 bit, floating point 64 bit
inria
INRIA image π
- Recognized file extensions:
.INR,.inr - Supported element types:
- signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
mhd
MetaIO 3D image IO using the VTK implementation (experimental). π§ͺ
- Recognized file extensions:
.MHA,.MHD,.mha,.mhd - Supported element types:
- signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
nifti
NIFTI-1 3D image IO. The orientation is transformed in the same way like it is done with 'dicomtonifti --no-reorder' from the vtk-dicom package. π§
- Recognized file extensions:
.NII,.nii - Supported element types:
- signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, signed 64 bit, unsigned 64 bit, floating point 32 bit, floating point 64 bit
vff
VFF Sun raster format βοΈ
- Recognized file extensions:
.VFF,.vff - Supported element types:
- unsigned 8 bit, signed 16 bit
vista
Vista 3D π
- Recognized file extensions:
.-,.V,.VISTA,.v,.vista - Supported element types:
- binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
vti
3D image VTK-XML in- and output (experimental). π§ͺ
- Recognized file extensions:
.VTI,.vti - Supported element types:
- signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
vtk
3D VTK image legacy in- and output (experimental). π§ͺ
- Recognized file extensions:
.VTK,.VTKIMAGE,.vtk,.vtkimage - Supported element types:
- signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
π§ PLUGINS: fastica/implementation π§
internal
This is the MIA implementation of the FastICA algorithm.
- (no parameters)
itpp
This is the IT++ implementation of the FastICA algorithm.
- (no parameters)
π EXAMPLE π
so say you wanna register the perfusion series that's sitting in images imagesXXXX.v, using 4-class ICA estimation. skip two images at the beginning, use at most 4 registration threads, an nlopt based optimizer, and otherwise just vibe with the default parameters. store the result in registeredXXXX.v. slay β¨
mia-3dmotioncompica-nonrigid -i images0000.v -o registered%04d.v -k 2
-C 4 -t 4 -O
nlopt:opt=ld-var1,xtola=0.001,ftolr=0.001,maxiter=300
π AUTHOR(s) π
Gert Wollny π
π COPYRIGHT π
This software is Copyright (c) 1999β2015 Leipzig, Germany and Madrid, Spain. It comes with ABSOLUTELY NO WARRANTY and you may redistribute it under the terms of the GNU GENERAL PUBLIC LICENSE Version 3 (or later). For more information run the program with the option '--copyright'. β οΈ
k bye bestie, that's the whole page π
this was the mia-3dmotioncompica-nonrigid manual, version v2.4.7, straight out of USER COMMANDS π go register something gorgeous π¦π
π¦ where this page comes from
- ubuntu jammy: mia-tools 2.4.7-8ubuntu1 Β· GPL-3.0-or-later
- ubuntu noble: mia-tools 2.4.7-13build4 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms