mia-2dseries-sectionmask(1)

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

πŸ‘‘ mia-2dseries-sectionmask β€” the manual, but make it cute πŸ’…

okay bestie, so this is a page from the General Commands Manual, and the star of the show is mia-2dseries-sectionmask. It lives in section 1, iykyk 🫢


✨ NAME ✨

mia-2dseries-sectionmask β€” Evaluate masks from a segmentation.

no like literally, that's the whole job. it takes a segmentation and hands you masks. iconic behavior, honestly.


πŸŽ€ SYNOPSIS πŸŽ€

mia-2dseries-sectionmask -i <in-file> -o <out-file> [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

mia-2dseries-sectionmask evaluates the masks for the sections of a segmented frame. that's it, that's the vibe. you feed it a segmented frame, it gives you back the mask. slay. 🌸


πŸ’– OPTIONS πŸ’–

  • -i, --in-file=(input, required); string β€” the input segmentation set. required, so like… don't skip it, bestie πŸ™ˆ
  • -o, --out-file=(output, required); io β€” the output image containing the mask. also required! and for supported file types see PLUGINS:2dimage/io (scroll down, it's all there πŸ’œ)
  • -f, --frame=0 β€” frame number for which to extract the mask. defaults to 0.

🫢 Help & Info

  • -V, --verbose=warning β€” verbosity of output; it 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

πŸ”₯ 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). so like, let it cook, it'll figure out the thread count itself 🧚

🌈 PLUGINS: 2dimage/io 🌈

here's the whole roster of file-format besties that -o can talk to, no cap:

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

Evaluate the mask image from the segmentation of image 20 in segment.set and store it to mask20.png:

mia-2dseries-sectionmask -i segment.set -f 20 -o mask20.png

see? frame 20, in goes segment.set, out comes mask20.png. main character energy fr fr ✨


πŸ’œ AUTHOR(s) πŸ’œ

Gert Wollny β€” the actual legend behind this. πŸ‘‘


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. ABSOLUTELY NO WARRANTY is not a vibe, it's a legal fact. read it, respect it, periodt. 😭

okay that's the whole page πŸŽ€ it's from the USER COMMANDS part of the manual, version v2.4.7, and the page is mia-2dseries-sectionmask(1). go forth and mask, queen πŸ‘‘πŸ’…

πŸ“¦ where this page comes from