mia-2dfuzzysegment(1)

πŸ“¦
version 2.4.7 Β· 2 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– mia-2dfuzzysegment(1) β€” the fuzzy segmenting girlie πŸ’–

okay bestie, gather round, because this is the mia-2dfuzzysegment page from the General Commands Manual and she is serving segmentation realness ✨


🌸 NAME 🌸

mia-2dfuzzysegment β€” a fuzzy c-means segmentation of a 2D image πŸ¦‹


✨ SYNOPSIS ✨

mia-2dfuzzysegment -i <in-file> [options]

πŸ’… DESCRIPTION πŸ’…

so mia-2dfuzzysegment runs a combined fuzzy c-means clustering and B-field correction so you can get a fuzzy segmentation of a 2D image. no cap. it's giving adaptive, it's giving inhomogeneity-resistant 🫢

cf D.L. Pham and J.L.Prince, "An adaptive fuzzy C-means algorithm for image segmentation in the presence of intensity inhomogeneities", Pat. Rec. Let., 20:57-68,1999 πŸ“š


πŸ‘‘ OPTIONS πŸ‘‘

πŸŽ€ File-IO πŸŽ€

  • -i --in-file=(required, input); io β€” the input image(s) to be segmenetd πŸ‘€ (yes bestie, required, do not skip her) For supported file types see PLUGINS:2dimage/io
  • -c --cls-file=(output); io β€” the output class probability images, floating point values and multi-image πŸ’– For supported file types see PLUGINS:2dimage/io
  • -o --b0-file=(output); io β€” the image corrected for intensity non-uniformity ✨ For supported file types see PLUGINS:2dimage/io
  • -g --gain-file=(output); io β€” the gain field, floating point valued 🌈 For supported file types see PLUGINS:2dimage/io

🧚 Help & Info 🧚

  • -V --verbose=warning β€” verbosity of output, prints messages of the given level and higher priorities. the 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 🏷️

πŸ“ Parameters πŸ“

  • -n --no-of-classes=3 β€” number of classes
  • -r --residuum=0.1 β€” relative residuum
  • --l1=200000 β€” penalize magnitude of intensity inhomogeinity correction
  • --l2=2e+06 β€” smoothness of intensity inhomogeinity correction

πŸ”₯ 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: 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
  • datapool β€” Virtual IO to and from the internal data pool
    • Recognized file extensions: .@
  • dicom β€” 2D image io for DICOM
    • Recognized file extensions: .DCM, .dcm
    • Supported element types: signed 16 bit, unsigned 16 bit
  • exr β€” a 2dimage io plugin for OpenEXR images
    • Recognized file extensions: .EXR, .exr
    • Supported element types: unsigned 32 bit, floating point 32 bit
  • jpg β€” a 2dimage io plugin for jpeg gray scale images
    • Recognized file extensions: .JPEG, .JPG, .jpeg, .jpg
    • Supported element types: unsigned 8 bit
  • png β€” a 2dimage io plugin for png images
    • Recognized file extensions: .PNG, .png
    • Supported element types: binary data, unsigned 8 bit, unsigned 16 bit
  • 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
  • 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
  • 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

⭐ EXAMPLE ⭐

run a 5-class segmentation over the input image input.v, store the class probability images in cls.v, and the B0-field corrected image in b0.v:

mia-2dfuzzysegment -i input.v -c 5 -o b0.v -c cls.v

🫢 AUTHOR(s) 🫢

Gert Wollny πŸ‘‘


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 take-backsies bestie, that's the whole deal πŸ’€


okay that's the whole page!! she's from the USER COMMANDS section, version v2.4.7 β€” go run her and slay πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from