UNU-GAMMA(1)

πŸ“¦ version 1.11.0, in fedora 43, fedora 44

✨ 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.0 brightens; gamma < 1.0 darkens. Negative gammas invert values (like in xv). it's a (double) πŸ¦‹
  • -min [<value>], --minimum [<value>] β€” the value to implicitly map to 0.0 prior to calling pow(3). Defaults to the lowest value found in the input nrrd. (double) ✨
  • -max [<value>], --maximum [<value>] β€” the value to implicitly map to 1.0 prior to calling pow(3). Defaults to the highest value found in the input nrrd. (double) ✨
  • -blind8 <bool> β€” whether to know the range of 8-bit data blindly (uchar is 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