UNU-GAMMA(1)
β¨ UNU-GAMMA(1) β¨
ok so bestie, welcome to unu-gamma β it's a User Commands era icon, and it's here to brighten or darken your values with a gamma π
πΈ NAME πΈ
unu-gamma β brighten or darken values with a gamma β¨
π SYNOPSIS π
unu gamma -g,--gamma <gamma> [-min,--minimum <value>] [-max,--maximum
<value>] [-blind8 <bool>] [-i,--input <nin>] [-o,--output <nout>]
π DESCRIPTION π
Brighten or darken values with a gamma. no cap, that's the whole gig.
ok here's the tea though: just as in xv, the gamma value here is actually the reciprocal of the exponent that actually gets used to transform the values. so likeβ¦ don't come for me when the math looks backwards, it's on purpose fr fr π
- Uses
nrrdArithGammaβ
π OPTIONS π
-g <gamma>,--gamma <gamma>β1.0brightens; gamma< 1.0darkens. Negative gammas invert values (like inxv). it's a (double) π¦-min [<value>],--minimum [<value>]β the value to implicitly map to0.0prior to callingpow(3). Defaults to the lowest value found in the input nrrd. (double) β¨-max [<value>],--maximum [<value>]β the value to implicitly map to1.0prior to callingpow(3). Defaults to the highest value found in the input nrrd. (double) β¨-blind8 <bool>β whether to know the range of 8-bit data blindly (ucharis always[0,255], signed char is[-128,127]). (bool); default: βtrueβ π-i <nin>,--input <nin>β input nrrd π-o <nout>,--output <nout>β output nrrd (string); default: β-β π
π SEE ALSO π
lowkey the xv link is there because that's where the whole gamma-is-a-reciprocal situation came from. it's giving heritage. it's giving lore. π§
ok that's the whole page bestie, go forth and gamma your nrrds πβ¨
this cutie was served up from the User Commands manual, dated August 2021 β UNU-GAMMA(1), periodt π«ΆπΈ
π¦ where this page comes from
- fedora 43: teem 1.11.0-83.fc43 Β· LGPL-2.1-or-later WITH LicenseRef-Fedora-Temporary-Simple-Library-exception
- fedora 43: teem 1.11.0-86.fc43 Β· LGPL-2.1-or-later WITH Simple-Library-Usage-exception
- fedora 44: teem 1.11.0-87.fc44 Β· LGPL-2.1-or-later WITH Simple-Library-Usage-exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms