mia-multihist(1)

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

πŸ’– mia-multihist(1) β€” the glow-up edition πŸ’–

okay bestie, pull up a chair because this one's a whole vibe. we're talking about mia-multihist(1), straight out of the General Commands Manual, and it's lowkey one of the most useful little tools in the whole fam. πŸ¦‹


✨ NAME ✨

mia-multihist β€” it makes a histogram of a whole series of 2D images. like, all of them. every single one. no cap. πŸ‘‘


🌸 SYNOPSIS 🌸

mia-multihist -i <in-file> -o <out-histogram> [options]

πŸ’… DESCRIPTION πŸ’…

mia-multihist is that girl. πŸ’– This program evaluates the histogram over a series of 2D images. that's it, that's the job, and it does it flawlessly fr fr.


πŸŽ€ OPTIONS πŸŽ€

  • -i, --in-file=(input, required) β€” the input image(s) to be filtered. it's io type, it's required, so don't ghost it. πŸ™ˆ
    • For supported file types see PLUGINS:2dimage/io (yes, that section is down below, keep scrolling bestie ⬇️)
  • -o, --out-histogram=(output, required) β€” output file name. it's a string. required. periodt. πŸ’…
  • --min=0 β€” minimum of histogram range. defaults to 0.
  • --max=65535 β€” maximum of histogram range. defaults to 65535.
  • --bins=65536 β€” number of histogram bins. defaults to 65536. set it to zero to create a bin for each intensity value available in the input data β€” and in that case the histogram range is also evaluated automatically. iconic behaviour honestly. ✨

🌈 Help & Info 🌈

  • -V, --verbose=warning β€” verbosity of output; prints messages of the given level and higher priorities. defaults to warning. 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. give the lawyers their moment 🫢
  • -h, --help β€” print this help. the classic.
  • -?, --usage β€” print a short help. the lite version, for when you're in a rush.
  • --version β€” print the version number and exit. bye bestie πŸ‘‹

🧚 Processing 🧚

  • --threads=-1 β€” Maxiumum number of threads to use for processing. (yes that typo is in the original, we do not fix, we preserve 🫑) This number should be lower or equal to the number of logical processor cores in the machine. -1 means automatic estimation. let the machine cook. πŸ”₯

πŸ”₯ PLUGINS: 2dimage/io πŸ”₯

here's the roster of file formats that can pull up to the party:

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

okay so imagine this: you wanna evaluate the histogram over all consecutively numbered images that follow the numbering pattern inputXXXX.exr and store the output histogram in histo.txt. and you want the range [0,256] with 64 bins. here's the moment:

mia-multihist -i input0000.exr -o histo.txt --min 0 --max 256 --bins 64

ate. no crumbs. πŸ’…βœ¨


πŸ‘‘ AUTHOR(s) πŸ‘‘

Gert Wollny. the legend, the icon, the moment.


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 part β€” that's not a vibe, that's a legal fact. respect it. 🫑

and that's the whole page, you're fully caught up. πŸ’– this was mia-multihist(1) from the General Commands Manual, version v2.4.7, filed under USER COMMANDS. go forth and histogram, my love. πŸŒˆπŸ¦‹πŸ’œ

πŸ“¦ where this page comes from