mia-3dbrainextractT1(1)

πŸ“¦
version 2.4.7 Β· 3 versions
, in debian bookworm, ubuntu resolute, ubuntu stonking

🧠 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 see PLUGINS:3dimage/io πŸ‘‡
  • -o, --out-file=(output, required); io β€” this is your brain mask output. also required, no skipping. for supported file types see PLUGINS:3dimage/io πŸ‘‡
  • -n, --no-of-classes=3 β€” number of classes. default is 3 🎚️
  • -w, --wm-class=2 β€” index of white matter. default is 2 🧠
  • -p, --wm-prob=0.7 β€” white matter class probability for initial mask creation. default is 0.7 🌟
  • -t, --grow-threshold=20 β€” intensity threshold for region growing. default is 20 πŸ”₯
  • --grow-shape=18n β€” neighbourhood mask region growing. default is 18n πŸ¦‹

🫢 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 trace
    • debug ‐ Debug output
    • info ‐ Low level messages
    • message ‐ Normal messages
    • warning ‐ Warnings
    • fail ‐ Report test failures
    • error ‐ Report errors
    • fatal ‐ 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
  • 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

πŸ“ 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. 🫢


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