mia-3dbrainextractT1(1)
π§ mia-3dbrainextractT1 β the brain-extraction bestie π§
okay so bestie, welcome to the General Commands Manual page for mia-3dbrainextractT1, and honestly? it's giving neuroimaging main character energy. it pulls the brain out of a 3D T1 MRI head image. yes, literally. no cap. π§ β¨
πΈ SYNOPSIS πΈ
mia-3dbrainextractT1 -i <in-file> -o <out-file> [options]
π DESCRIPTION π
okay so here's the tea: mia-3dbrainextractT1 is the program you use to extract the brain from T1 MR images. π§ π
the way it works is honestly iconic β first it runs a combined fuzzy c-means clustering and B-field correction to facilitate a 3D segmentation of a 3D image. then various fiters are run to obtain a white matter segmentation as an initial mask, and that mask is then used to run a region growing to obtain a mask of the whole brain. finally, this mask is used to extact the brain from the B0 field corrected images. π
like⦠it's a whole pipeline and it ate. periodt.
β¨ OPTIONS β¨
π«Ά the main ones π«Ά
-i,--in-file=(input, required); ioβ the input image(s) to be segmented, bestie. you gotta give it this one. for supported file types seePLUGINS:3dimage/ioπ-o,--out-file=(output, required); ioβ this is your brain mask output. also required, no skipping. for supported file types seePLUGINS:3dimage/ioπ-n,--no-of-classes=3β number of classes. default is3ποΈ-w,--wm-class=2β index of white matter. default is2π§-p,--wm-prob=0.7β white matter class probability for initial mask creation. default is0.7π-t,--grow-threshold=20β intensity threshold for region growing. default is20π₯--grow-shape=18nβ neighbourhood mask region growing. default is18nπ¦
π«Ά Help & Info π«Ά
-V,--verbose=warningβ verbosity of output: it prints messages of the given level and higher priorities. 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 π’
π₯ Processing π₯
--threads=-1β Maxiumum 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). πβοΈπ¨
π PLUGINS: 3dimage/io π
these are all the file formats it can vibe with, iykyk:
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
- Recognized file extensions:
datapoolβ Virtual IO to and from the internal data pool- Recognized file extensions:
.@
- Recognized file extensions:
dicomβ Dicom image series as 3D- Recognized file extensions:
.DCM,.dcm - Supported element types:
- signed 16 bit, unsigned 16 bit
- Recognized file extensions:
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
- Recognized file extensions:
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
- Recognized file extensions:
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
- Recognized file extensions:
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
- Recognized file extensions:
vffβ VFF Sun raster format- Recognized file extensions:
.VFF,.vff - Supported element types:
- unsigned 8 bit, signed 16 bit
- Recognized file extensions:
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
- Recognized file extensions:
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
- Recognized file extensions:
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
- Recognized file extensions:
π EXAMPLE π
Create a mask from the input image by running a 5-class segmentation over inpt image input.v and use class 4 as white matter class and store the masked image in masked.v and the B0-field corrected image in b0.v:
mia-3dbrainextractT1 -i input.v -n 5 -w 4 -o masked.v
likeβ¦ look at her go. slay. π
π AUTHOR(s) π
Gert Wollny β the icon, the legend. π«Ά
π 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'. πβ¨
and that's the whole page, bestie!! π this one came to you straight outta the USER COMMANDS section, version v2.4.7, filed under mia-3dbrainextractT1(1). go extract some brains (respectfully) π§ ππ¦
π¦ where this page comes from
- debian bookworm: mia-tools 2.4.7-11+b1 Β· GPL-3.0-or-later
- ubuntu resolute: mia-tools 2.4.7-18 Β· GPL-3.0-or-later
- ubuntu stonking: mia-tools 2.4.7-19build1 Β· 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