mia-multihist(1)
π 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'siotype, 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 β¬οΈ)
- For supported file types see
-o,--out-histogram=(output, required)β output file name. it's astring. required. periodt. π--min=0β minimum of histogram range. defaults to0.--max=65535β maximum of histogram range. defaults to65535.--bins=65536β number of histogram bins. defaults to65536. 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 towarning. the 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. 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.-1means 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
- Recognized file extensions:
datapoolβ Virtual IO to and from the internal data pool.- Recognized file extensions:
.@
- Recognized file extensions:
dicomβ 2D image io for DICOM.- Recognized file extensions:
.DCM,.dcm - Supported element types:
- signed 16 bit, unsigned 16 bit
- Recognized file extensions:
exrβ a 2dimage io plugin for OpenEXR images.- Recognized file extensions:
.EXR,.exr - Supported element types:
- unsigned 32 bit, floating point 32 bit
- Recognized file extensions:
jpgβ a 2dimage io plugin for jpeg gray scale images.- Recognized file extensions:
.JPEG,.JPG,.jpeg,.jpg - Supported element types:
- unsigned 8 bit
- Recognized file extensions:
pngβ a 2dimage io plugin for png images.- Recognized file extensions:
.PNG,.png - Supported element types:
- binary data, unsigned 8 bit, unsigned 16 bit
- Recognized file extensions:
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
- Recognized file extensions:
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
- Recognized file extensions:
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
- Recognized file extensions:
β 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.
π«Ά 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 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
- debian bookworm: mia-tools 2.4.7-11+b1 Β· GPL-3.0-or-later
- ubuntu resolute: mia-tools 2.4.7-18 Β· GPL-3.0-or-later
- ubuntu stonking: mia-tools 2.4.7-19build1 Β· 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