DelogRGB

Function

This behaves exactly like DelogC, except you can control the Red, Green, and Blue channels independently.

Parameters
Type
Defaults
Function
Offset
float
0 These values offset the individual color channels.
black, white
float
95, 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 points. Default is 0, which gives a Linear break. By increasing this value, you smooth the curve out.


Synopsis

image DelogRGB( image, 
  float rOffset, 
  float gOffset,
  float bOffset,
  float rBlack,
  float gBlack,
  float bBlack,
  float rWhite,
  float gWhite,
  float bWhite,
  float rNGamma,
  float gNGamma,
  float bNGamma,
  float rDGamma,
  float gDGamma,
  float bDGamma,
  float rSoftClip,
  float gSoftClip,
  float bSoftClip,
);


Script

image = DelogRGB( image, 
        rOffset, gOffset, bOffset, 
        rBlack, gBlack, bBlack,
        rWhite, gWhite, bWhite,
        rNGamma, gNGamma, bNGamma,
        rDGamma, gDGamma, bDGamma,
        rSoftClip, gSoftClip, bSoftClip
);


Command Line

shake -delogrgb redOffset greenOffset etc...

Example of the SoftClip
Create a horizontal 2-byte Ramp, add a DelogRGB, and then attach a PlotScanline. Push the SoftClip values up (say, around 20 or 30) to see the rolloff.

See Also
LogC , DelogC, LogRGB