Instruction manual

Marlin Technical ManualV.2.7.0
77
Description of the data path
Look-up table (LUT) and gamma function
The Marlin camera provides one user-defined look-up table (LUT). The use of this
LUT allows any function (in the form Output = F(Input)) to be stored in the cam-
era's RAM and to apply it on the individual pixels of an image at run-time.
The address lines of the RAM are connected to the incoming digital data, these
in turn point to the values of functions which are calculated offline, e.g. with a
spreadsheet program.
This function needs to be loaded into the camera's RAM before use.
One example of using a LUT is the gamma LUT:
Output = (Input)
0.45
This is used with all Marlin CCD models.
It is known as compensation for the nonlinear brightness response of many dis-
plays e.g. CRT monitors. The look-up table converts the most significant 10 bits
from the digitizer to 8 bits. The gamma function is controlled by the register
F0F00818h by toggling bit 6.
Figure 38: Gamma LUT