mia-2dsegment-ahmed(1)
π mia-2dsegment-ahmed β bestie, we're doing fuzzy c-means on your 2D image π
okay so. this is a General Commands Manual page for the mia-2dsegment-ahmed program, and literally all it does is run a fuzzy c-means segmentation of a 2D image. that's the whole vibe. no cap.
β¨ SYNOPSIS β¨
mia-2dsegment-ahmed -i <in-file> -o <out-file> [options]
like, you give it an input, you give it an output, and you sprinkle options on top like glitter. π¦
πΈ DESCRIPTION πΈ
mia-2dsegment-ahmed β this program implements a variation of the paper:
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: p=2, and exp. that's it, that's the tea. iykyk. π
π OPTIONS π
-i,--in-file=(input, required); ioβ the image to be segmented. yes, required, bestie, you can't segment the void. for supported file types seePLUGINS:2dimage/ioπ-o,--out-file=(required, output); ioβ the class probability images. the image type must support multiple images and floating point values, so like, pick accordingly. for supported file types seePLUGINS:2dimage/ioβ¨-a,--no-of-classes=3β number of classes. defaults to3. slay. π-b,--bias-correctβ apply bias field correction π«-c,--class-centres=β initial class centers-s,--spread=64β spread parameter describing the strength of mattar distinction. defaults to64. (yes it says "mattar", we don't question the ancestors. π)
π«Ά Help & Info
-V,--verbose=warningβ verbosity of output, print 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
π§ 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). let the machine cook, fr fr. π₯
π PLUGINS: 2dimage/io π
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 color 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
- Recognized file extensions:
datapoolβ Virtual IO to and from the internal data pool- Recognized file extensions:
.@
- Recognized file extensions:
dicomβ 2D image io for DICOM- Recognized file extensions:
.DCM,.dcm - Supported element types:
- signed 16 bit, unsigned 16 bit
- Recognized file extensions:
exrβ a 2dimage io plugin for OpenEXR images- Recognized file extensions:
.EXR,.exr - Supported element types:
- unsigned 32 bit, floating point 32 bit
- Recognized file extensions:
jpgβ a 2dimage io plugin for jpeg gray scale images- Recognized file extensions:
.JPEG,.JPG,.jpeg,.jpg - Supported element types:
- unsigned 8 bit
- Recognized file extensions:
pngβ a 2dimage io plugin for png images- Recognized file extensions:
.PNG,.png - Supported element types:
- binary data, unsigned 8 bit, unsigned 16 bit
- Recognized file extensions:
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
- Recognized file extensions:
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
- Recognized file extensions:
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
- Recognized file extensions:
π EXAMPLE π
Run a 5-class segmentation over input image input.v and store the class probability images in cls.v.
mia-2dsegment-ahmed -i input.v -a 5 -o cls.v
literally that easy. main character energy. β¨
π 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.
no warranty bestie, that's the deal. read it before you redistribute. π
and that's the whole page, mwah. this was USER COMMANDS from v2.4.7, dated mia-2dsegment-ahmed(1) era β go segment something gorgeous, you got this π«Άπ
π¦ 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