mia-2dseri...advariation(1)
π mia-2dseriesgradvariation β a Gen Z girl's guide π
okay bestie, listen up. this is the manual page for mia-2dseriesgradvariation, straight out of the General Commands Manual section, and i am so excited to walk you through it. it's giving "gradient variation, but make it a whole vibe". no cap. π¦
β¨ NAME β¨
mia-2dseriesgradvariation β Evaluate the time-intensity gradient variation in a series of images. literally what it says on the tin, and honestly? iconic. π
π SYNOPSIS π
mia-2dseriesgradvariation -i <in-file> -o <out-file> [options]
that's the whole shape of it. two required besties (-i and -o) and then whatever extra options you're feeling. π
πΈ DESCRIPTION πΈ
okay so picture this: you hand this program a set of images that happen in temporal succession (like, one after another in time, a lil glow-up timeline for your pixels π). what it does is evaluate the gradient variation of the pixel-wise time-intensity curves of that whole series. so every pixel gets its own lil story arc over time, and this tool reads the gradient of that arc. main character energy for every single pixel, honestly.
and here's the cute part: if your input image set also provides a segmentation, you can use that segmentation to build a bounding box and restrict the evaluation to just that box. like, why look at the whole crowd when you can zoom in on the star? π
β OPTIONS β
-i,--in-file=(input, required); string β the input segmentation set. you gotta give this one, it's required bestie, no skipping. π-o,--out-file=(required, output); io β the output file name. also required, also non-negotiable. for which file types are supported, scroll down toPLUGINS:2dimage/io, i got you. π-k,--skip=0 β skip files at the beginning. default is0, so by default nothing gets skipped, periodt.-e,--enlarge-boundary=5 β enlarge the cropbox by this number of pixels. default is5.-c,--cropβ crop the image before running statistics.
π«Ά Help & Info
-V,--verbose=warning β verbosity of output: it prints messages of the 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. (yes, "Maxiumum", that's the original spelling, i'm not touching it π). This number should be lower or equal to the number of logical processor cores in the machine.-1means automatic estimation.
π PLUGINS: 2dimage/io π
these are the file-format pluggies that this tool can vibe with. each one has its own recognized file extensions and supported element types, and you're gonna want to know them, iykyk:
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 π§
here's the moment you've been waiting for. we're gonna evaluate the gradient-variation image of the bounding box surrounding the segmentation from a series called segment.set. the bounding box gets enlarged by 3 pixels in all directions. and we store the image in OpenEXR format. slay.
mia-2dseriesgradvariation -i segment.set -o gradvar.exr -c -e 3
ate that. π₯
π AUTHOR(s) π
Gert Wollny. (yes bestie, the legend himself. we stan. π«Ά)
π 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.
fr fr, no warranty, so don't come crying to anyone if it goes sideways. read the license, love the license. π
and that's the whole page!! π this was mia-2dseriesgradvariation from the USER COMMANDS chapter, version v2.4.7, and yeah β the header and footer both say mia-2dseri...advariation(1) because the terminal was being dramatic and truncating. go forth and gradient-vary, bestie. periodt. πβ¨π¦
π¦ 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms