unu-gamma - Man Page

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. Just as in xv, the gamma value here is actually the reciprocal of the exponent actually used to transform the values.

Options

-g <gamma> , --gamma <gamma>

1.0 brightens; gamma < 1.0 darkens. Negative gammas invert values (like in xv). (double)

-min [<value>] , --minimum [<value>]

Value to implicitly map to 0.0 prior to calling pow(3). Defaults to lowest value found in input nrrd. (double)

-max [<value>] , --maximum [<value>]

Value to implicitly map to 1.0 prior to calling pow(3). Defaults to highest value found in 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

unu(1)

http://www.trilon.com/xv/

Referenced By

unu(1), unu-heq(1).

August 2021