LogC

Function

This function performs a Linear to Log conversion. You can adjust the black and white points, gamma, and do color adjustments. All values are in between 0 to 1023.

Parameters
Type
Defaults
Function
Offset
float
0,0,0
These values offset the individual color channels.
black, white
float
90, 685 These set the black and white cutoff points. The default values are 95 and 685.
nGamma
float
.6 The film negative gamma. The default is .6, as per the standard Kodak specification. Generally, this number is not touched, unless you use a non-standard film stock.
dGamma
float
1 The display gamma to compensate for the monitor's lookup table. By default, this number is 1.
softClip
float
0 The rolloff values on the white point. Default is 0, which gives a Linear break. By increasing this value, you smooth the curve out.

Synopsis
image LogC( image, 
  float rOffset, 
  float gOffset,
  float bOffset,
  float black,
  float white,
  float nGamma,
  float dGamma,
  float softClip
);


Script

image = LogC( image, 
        rOffset, gOffset, bOffset, 
        black, white, nGamma, dGamma
        softClip
);


Command Line

shake -logc redOffset greenOffset blueOffset etc...

See Also
DelogC