Loading an lut into the camera, Chapter – ALLIED Vision Technologies Marlin F-201 User Manual
Page 83

Description of the data path
MARLIN Technical Manual V2.4.0
83
Loading an LUT into the camera
Loading the LUT is carried out through the data exchange buffer called
GPDATA_BUFFER. As this buffer can hold a maximum of 2 kB, and a complete
LUT at 1024 x 8 bit is 1 kB, programming can take place in a one block write
step. The flow diagram below shows the sequence required to load data into
the camera.
Note
L
•
The input value is the most significant 10-bit value
from the digitizer. The gamma LUT of the CCD models
outputs the most significant 8 bit as shown above.
•
As gamma correction for the CCD models is also imple-
mented via the look-up table, it is not possible to use a
different LUT when gamma correction is enabled.
•
With all CCD models, the user LUT will be overwritten
when Gamma is enabled and vice versa.
•
CMOS models have the gamma function built in the sen-
sor, so that it won’t be overwritten.
•
LUT content is by default volatile, use user set func-
tionality to store the LUT permanently in the camera.
Figure 41: Loading an LUT
Note
L
Configuration
•
To configure this feature in an advanced register: See
Table 107: Advanced register: LUT
•
For information on GPDATA_BUFFER: See Chapter
Query Limits from
Register:
LUT_INFO and
GPDATA_INFO
Set EnableMemWR
to true (1)
Set AddrOffset to 0
Write LUT data in
GPDATA_BUFFER
Set EnableMemWR
to false (0)