mia-3dfuzzysegment(1)
β¨ NAME β¨
mia-3dfuzzysegment β fuzzy c-means segmentation of a 3D image π
Yep, that's the whole vibe: take a 3D image, fuzzy c-means it, segment it. Iconic.
π¦ SYNOPSIS π¦
mia-3dfuzzysegment -i <in-file> [options]
πΈ DESCRIPTION πΈ
Okay so bestie, mia-3dfuzzysegment runs a combined fuzzy c-means clustering and B-field correction, and that combo is literally the whole point β it's what makes a 3D segmentation of a 3D image actually happen. Two jobs, one program, no cap. β¨
π OPTIONS π
-i --in-file=(required, input); ioβ the input image(s) you want segmented π«Ά this one is required, so don't come to the party empty-handed. For supported file types seePLUGINS:3dimage/io-c --cls-file=(output); ioβ output class probability images. Heads up though: the file format you pick must support multiple images β bestie, usevistafor this, fr fr. For supported file types seePLUGINS:3dimage/io-o --b0-file=(output); ioβ the image corrected for intensity non-uniformity β¨ (that's your B0-field corrected glow-up). For supported file types seePLUGINS:3dimage/io-n --no-of-classes=3β number of classes. Default is3π-r --residuum=0.1β relative residuum. Default is0.1π«
π Help & Info
-V --verbose=warningβ verbosity of output; it prints messages of the given level and higher priorities. Default iswarning. 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β 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.-1means automatic estimation, so it figures it out for you π§ Default is-1.
π PLUGINS: 3dimage/io π
Here's the whole roster of file formats that can pull up to the function, with their extensions and the element types they support π
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 and the B0-field corrected image in b0.v.
mia-3dfuzzysegment -i input.v -c 5 -o b0.v -c cls.v
Copy it exactly like that, iykyk π
π 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.
bestie, note the ABSOLUTELY NO WARRANTY β that's not a vibe, that's a legal fact. Periodt. π
and that's the whole page, mwah π this was the USER COMMANDS section, page mia-3dfuzzysegment(1), version v2.4.7 β slay, go segment something gorgeous π¦β¨
π¦ where this page comes from
- debian bookworm: mia-tools 2.4.7-11+b1 Β· GPL-3.0-or-later
- ubuntu jammy: mia-tools 2.4.7-8ubuntu1 Β· 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