Edited by Casper Buijtendijk, 19 May 2012 - 11:07 AM.
Offset, Gamma, Gain
Posted 19 May 2012 - 11:06 AM
Posted 19 May 2012 - 12:44 PM
Gamma is an exponential function; it raises the values of the image to a fixed amount, often in the range 0.5-3. This has the effect of bending the middle of the curve, much as you'd get if you added a single control handle in the middle of a curve and dragged it towards the top left or bottom right of the curve display. This is, obviously, most apparent in the midtones.
Gain is a multiplicative functionl; it multiplies the values of the image by a given amount. This is like moving the top right end of a straight-line curve left, so the entire image gets brighter. Gain is similar, though not identical due to nonlinearity, to opening the iris. Gain is most apparent in the highlights.
These are terms which are left over from video processing amps, where these features were implemented as analog video amplifiers. The first creative colour work was done by using (or misusing) the video processing amps that on telecine outputs, ostensibly to allow the operator to adjust to the individual characteristics of the negative; the terms persist into software to this day. The layout of three trackballs with a surrounding rotary control is based on the three joysticks of early video processing amps.
Modern implementations frequently just call these three "shadow", "midtone" and "highlight", but in any case they may not (in fact usually do not) literally implement the processing-amp functions as literal additive, exponential and multiplicative mathematics. Commonly it's possible to define what each control does, the extent of its effects, somewhere in the software's settings, or even on a per-grade basis.
Posted 19 May 2012 - 03:12 PM
However, I think offset is more akin to iris or "exposure" and gain is like changing the "ISO" setting in the camera.
Posted 24 May 2012 - 12:12 PM
In log, using an offset is roughly the same as an exposure adjustment - from memory it's something like 0.18 equals one stop, so if you wanted to increase the exposure by 2 stops you'd set the offset to 0.36.
In linear, adding an offset is more like flashing the negative as it's most obvious effect is to lift the shadows in the image - it will lift the entire image but the effect is not the same as an exposure adjustment.
Gain can be made to act like an exposure value adjustment in stop values by setting the gain value to 2^stop (the ^ symbol represents "to the power of" in maths geek). So if you wish to increase the exposure by 3 stops you would set the gain to 8 (ie... 2^3). In order to reduce the exposure by 3 stops you would set the gain to 0.125 (2^-3). Although like any thing done on the computer, it's probably not quite the same as changing the aperture or iso on the lens or camera - it does double/halve the values recorded in the image.