Gamma

Function
This applies a gamma to your image. A value of one means no change. Shake's ability to use expressions can be particularly useful here, since to invert the gamma of 1.7, for example, you can just type 1/1.7 as your gamma value. Typing .588 isn't nearly as slick.

Parameters
Type
Defaults
Function
r, g, b, aGamma
float
1, rGamma, rGamma, 1 The gamma value. Duh.


Synopsis

image Gamma( image,
  float rGamma, 
  float gGamma, 
  float bGamma,
  float aGamma
);


Script

image = Gamma( image, rGamma, gGamma, bGamma, aGamma );


Command Line

shake -gamma rGamma gGamma bGamma aGamma

See Also
ContrastRGB, ContrastLum, Add, Mult, DelogC, Log