mia-3dsegment-ahmed(1)
πΈ mia-3dsegment-ahmed πΈ
okay bestie, pull up a chair, we're doing a fuzzy c-means segmentation of a 3D image and it's gonna be cute. this is part of the General Commands Manual family, so you already know it's a little command-line icon. π
β¨ NAME β¨
mia-3dsegment-ahmed β Run a fuzzy c-means segmentation of a 3D image.
π¦ SYNOPSIS π¦
mia-3dsegment-ahmed -i <in-file> -c <class-file> [options]
π DESCRIPTION π
so mia-3dsegment-ahmed implements a variation of this paper, and I need you to respect it:
Mohamed N. Ahmed et. al, "A Modified Fuzzy C-Means Algorithm for Bias Field estimation and Segmentation of MRI Data", IEEE Trans. on Medical Imaging, Vol. 21, No. 3, March 2002,
and the changes are, no cap: p=2, and exp.
π OPTIONS π
πΎ File-IO
-i,--in-file=(input, required); ioβ the image to be segmented, bestie. the main character, literally. For supported file types seePLUGINS:3dimage/io-c,--class-file=(output, required); ioβ class probability images. heads up: the image type must support multiple images and floating point values. yes that's a requirement, not a suggestion π For supported file types seePLUGINS:3dimage/io-b,--out-file=(output); ioβ the bias corrected image, and it'll be of the same type like the input image. if you don't pass this parameter, then the bias correction will not be applied. that's just how it is, fr fr. For supported file types seePLUGINS:3dimage/io
π«Ά Help & Info
-V,--verbose=warningβ verbosity of output, prints messages of given level and higher priorities. supported priorities starting at 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
β Parameters
-n,--no-of-classes=3β number of classes-C,--class-centres=β initial class centers. this parameter overrides'no-of-clases'(yes, spelled exactly like that, we keep it real π).-s,--spread=64β spread parameter describing the strength of mattar distinction
π₯ 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 π
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 π§
Run a 5-class segmentation over input image input.v and store the class probability images in cls.v.
mia-3dsegment-ahmed -i input.v -a 5 -o cls.v
π 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'.
okay that's the whole thing, you ate it. π now go segment something and be the main character of your own 3D image. β¨
USER COMMANDS Β· v2.4.7 Β· mia-3dsegment-ahmed(1) β mwah, logging off bestie π
π¦
π¦ 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