mia-2dbinarycombine(1)

πŸ“¦
version 2.4.7 Β· 2 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– mia-2dbinarycombine β€” the manual, but make it cute πŸ’–

okay bestie, so this is mia-2dbinarycombine, a lil General Commands Manual situation, and it's literally the tool that takes two binary images and smushes them together with some kind of operation. iconic behavior, no cap. πŸ¦‹


✨ NAME ✨

mia-2dbinarycombine β€” Combine two binary images. that's it, that's the job. πŸ’…


🌸 SYNOPSIS 🌸

mia-2dbinarycombine -1 <file1> -2 <file2> -o <out-file> [options]

πŸŽ€ DESCRIPTION πŸŽ€

so like, mia-2dbinarycombine is this program that's used to combine two binary images by some kind of operation. two masks walk in, one mask walks out. main character energy fr. πŸ‘‘


πŸ’œ OPTIONS πŸ’œ

  • -1, --file1=(input, required); io β€” input mask image 1. for the file types it can vibe with, see PLUGINS:2dimage/io.
  • -2, --file2=(input, required); io β€” input mask image 2. same deal, file types are in PLUGINS:2dimage/io.
  • -o, --out-file=(output, required); io β€” output mask image. yes, also PLUGINS:2dimage/io for the supported types. we stay consistent. ✨
  • -p, --operation=nor β€” Operation to be applied. the choices are:
    • or β€” logocal or
    • nor β€” logocal nor
    • and β€” logocal and
    • nand β€” logocal nand
    • xor β€” logocal xor
    • nxor β€” logocal nxor
not me noticing the source page says "logocal" six times 😭 i am keeping it exactly as written because the rule is the rule: details stay, vibes change. πŸ’€

🫢 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 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). (yes "Maxiumum" is a typo in the source and i am preserving it like a lil museum artifact πŸ›οΈ)

🧚 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 ⭐

Combine the binary images b1.png and b2.png by using the 'nor' operation and store the result in b1nor2.png. watch this:

mia-2dbinarycombine -1 b1.png -2 b2.png -p nor -o b1nor2.png

ate. ✨


πŸ‘‘ 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'.

lowkey important: ABSOLUTELY NO WARRANTY, bestie. fr fr. πŸ™ˆ

and that's the whole thing, babe β€” this page was hangin' out in the USER COMMANDS section, version v2.4.7, and it's the mia-2dbinarycombine(1) manual. go combine some masks, you got this πŸ’–πŸŒˆπŸ’…

πŸ“¦ where this page comes from