mia-2dmyocard-ica(1)
π mia-2dmyocard-ica β run an ICA analysis on a series of 2D images π
okay bestie, so you know how your myocardial perfusion images are just vibing there, all wobbly and un-registered? yeah. this little tool right here (it lives in the General Commands Manual, section 1, iykyk) runs an ICA on a whole series of 2D images so you can build synthetic references that you then use for motion correction via image registration. it's giving β¨ preprocessing icon β¨.
π SYNOPSIS π
mia-2dmyocard-ica -i <in-base> [options]
that's it. that's the whole vibe. one required flag and then you go feral with the options.
πΈ DESCRIPTION πΈ
okay so listen. mia-2dmyocard-ica is the program you use to run an ICA on a series of myocardial perfusion images, and the whole point is to create synthetic references that can be used for motion correction by image registration. slay.
but here's the tea π« β if your actual goal is a full motion compensation, then honestly bestie, it's better to make a segmentation set and use mia-2dmyoica-nonrigid instead. and if your input data is given by means of a segmentation set, then you can also use mia-2dmyocard-icaseries. options on options, we love to see it.
so what is this one for then? this program is essentially used to test different options on how to run the ICA for reference image creation. it's the experimental bestie, the tester, the "let me try something" girlie. periodt. π
β¨ OPTIONS β¨
π¦ Main Character Options
-i,--in-base=(required, input); ioβ the input file name, and it follows the patternnameXXXX.extwhereX=numbers. for supported file types, go peek atPLUGINS:2dimage/iobelow π--coefs=β output the mixing coefficients to this file. cute, let's keep receipts.-o,--out-base=(output); stringβ the output file name base.-t,--type=exrβ the output file type.
Supported values are: -, @, BMP, DCM, EXR, JPEG, JPG, PNG, RAW, TIF, TIFF, V, VISTA, bmp, dcm, exr, jpeg, jpg, png, raw, tif, tiff, v, vista, `` (yes, lowercase versions count, they're all valid, no cap).
-k,--skip=2β skip images at the beginning of the series. bye girlies, you're not invited.-e,--end=60β the last image in the series.-C,--components=0β the number of components. and0means "estimate it automatically", which is very main character energy of it. π-m,--strip-meanβ strip the mean image from the series.-f,--save-features=β save the feature image.-p,--strip-periodicβ strip only the periodic component.--fastica=internalβ which FastICA implementation to use. for supported plugins, checkPLUGINS:fastica/implementationbelow π-x,--max-ica-iterations=0β the max ICA solver iterations.-n,--ica-normalizeβica_normalizethe feature images.--all-features=β save all feature images to this location. all of them. every single one. no crumbs. π₯-L,--LV-crop-amp=0β the LV crop mask amplification, where0.0= don't crop. so if you leave it at zero, we're not cropping anything, bestie.
π Help & Info
-V,--verbose=warningβ verbosity of output; 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β print copyright information.-h,--helpβ print this help.-?,--usageβ print a short help.--versionβ print the version number and exit. (a goodbye girlie.)
π Processing
--threads=-1β the maximum number of threads to use for processing. this number should be lower than or equal to the number of logical processor cores in the machine. (-1: automatic estimation). so basically-1= "figure it out yourself, queen."
π§ PLUGINS: 2dimage/io π§
these are all the file formats your images can show up in, and what they support. read carefully, bestie, some of these are read-only or ignore your colour table:
bmpβ BMP 2D-image input/output support. the plug-in supports reading and writing of binary images and 8-bit gray scale images. read-only support is provided for 4-bit gray scale images. the colour table is ignored and the pixel values are taken as literal gray scale values.
Recognized file extensions: .BMP, .bmp
Supported element types:
- binary data, unsigned 8 bit
datapoolβ virtual IO to and from the internal data pool.
Recognized file extensions: .@
dicomβ 2D image io for DICOM.
Recognized file extensions: .DCM, .dcm
Supported element types:
- signed 16 bit, unsigned 16 bit
exrβ a 2dimage io plugin for OpenEXR images.
Recognized file extensions: .EXR, .exr
Supported element types:
- unsigned 32 bit, floating point 32 bit
jpgβ a 2dimage io plugin for jpeg gray scale images.
Recognized file extensions: .JPEG, .JPG, .jpeg, .jpg
Supported element types:
- unsigned 8 bit
pngβ a 2dimage io plugin for png images.
Recognized file extensions: .PNG, .png
Supported element types:
- binary data, unsigned 8 bit, unsigned 16 bit
rawβ RAW 2D-image output support.
Recognized file extensions: .RAW, .raw
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
tifβ TIFF 2D-image input/output support.
Recognized file extensions: .TIF, .TIFF, .tif, .tiff
Supported element types:
- binary data, unsigned 8 bit, unsigned 16 bit, unsigned 32 bit
vistaβ a 2dimage io plugin for vista images.
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
π PLUGINS: fastica/implementation π
your two FastICA options, bestie. pick your fighter:
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 β
okay here's the moment you've been waiting for. the goal: evaluate the synthetic references from images imageXXXX.exr and save them to refXXXX.exr by using five independent components, mean stripping, normalizing, and skipping 2 images. watch her work:
mia-2dmyocard-ica -i imageXXXX.exr -o ref -k 2 -C 5 -m -n
ate and left no crumbs. π
π 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.
fr fr, no warranty. like, none. so don't come for anybody if it goes sideways. π
and that's the whole page, bestie! this one shipped as part of the v2.4.7 user commands collection, dated with that v2.4.7 energy β so go run your ICA, make those synthetic references, and remember: it's mia-2dmyocard-ica(1), not to be confused with her cousins. mwah! π«ΆπΈβ¨
π¦ where this page comes from
- debian bookworm: mia-tools 2.4.7-11+b1 Β· 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