mia-2dimagestats(1)
π mia-2dimagestats(1) β the General Commands Manual glow-up π
okay bestie, so this is the manual page for mia-2dimagestats, and yes it lives in the General Commands Manual section of your system, section 1, no cap. it's a lil command-line baddie that runs a whole vibe check on a 2D image and tells you what's going on with its intensities. let's get into it π¦
β¨ NAME β¨
mia-2dimagestats β Evaluate some statistics of a 2D image.
πΈ SYNOPSIS πΈ
mia-2dimagestats -i <in-file> [options]
π DESCRIPTION π
mia-2dimagestats β okay so real talk, this program is used to evaluate some statistics of an image. (yes the original really does spell it "progranm", we're keeping it, it's iconic π
)
what it hands you back is the Mean, the Variation, the Median, and the Median Average Distance of the intensity values. four stats, one command, we ate.
and because it's generous, it also lets you set a lower threshold and cut off a percentage of the high intensity pixels. so you can yeet the outliers before they mess with your numbers. periodt.
β¨ OPTIONS β¨
-i,--in-file=(input, required); io β the input image to be analyzed. bestie this one is required, no skipping. also, for supported file types seePLUGINS:2dimage/io(we got a whole list below, don't worry π«Ά)-t,--thresh=10 β intensity thresh to ignore-g,--high-thresh=0.05 β upper histogram percentage to ignore--use-histogramβ Use a histogram to accumulate statistics
π Help & Info π
-V,--verbose=warning β verbosity of output, print messages of given level and higher priorities. 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-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).
π PLUGINS: 2dimage/io π
the moment you've all been waiting for: the file type roster π
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 π«
Evaluate the statistics of image input.png. Don't include the upper 1% of intensities in the statistics. The result is written to stdout.
mia-2dimagestats -i input.png -g 1
look at that. one line. she's serving π
π AUTHOR(s) π
Gert Wollny
π 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, please actually read that part. ABSOLUTELY NO WARRANTY is in all caps for a reason, it's giving serious, not cute π
and that's the whole page, fr fr. this came to you from the USER COMMANDS, version v2.4.7, under the name mia-2dimagestats(1) β thanks for reading, mwah π
β¨π
π¦ where this page comes from
- debian bookworm: mia-tools 2.4.7-11+b1 Β· GPL-3.0-or-later
- ubuntu jammy: mia-tools 2.4.7-8ubuntu1 Β· GPL-3.0-or-later
- ubuntu noble: mia-tools 2.4.7-13build4 Β· 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