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 see PLUGINS: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 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).

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


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 πŸ’…βœ¨πŸ’–