U
SER
M
ANUAL
8
K
/4
K
CL
M
ONO
–
R
EV
I
–
06/2017
P
A G E
|
48
7.6
Look Up Table
The User can define an upload a LUT in the Camera that can be used at the end of the processing.
The LUT is defined as a correspondence between each of the 4096 gray levels (in 12 bits) with another outputted
value. For example, a “negative” or “reverse” LUT is the following equivalence :
Real value
Output value
0
4095
1
4094
2
4093
…
Then the size of each value is 12bits but the exchanges with the Application/PC are done on 16 bits :
For 4096 gray levels (from 0 to 4095) the total file size for a LUT is 8Ko.
If this LUT is enables, the “Contrast Expansion” feature (digital Gain and Offset) will be disabled
LUT Enable
(
LUTEnable
) : Enable the LUT and sizable the Digital Gain / Offset
This function is available in the LUT section :.
Read function : “
r lute
” : Get the LUT status
Returned by the camera : 0 is LUT disabled, 1 if enabled
Write function : “
w lute
<val>
” : <val> is 0 for disable, 1 for enable
Upload / Download the LUT coefficients :
Direct access to the LUT coefficients for reading or writing
.
In CommCam, the User can access to a specific interface by clicking on “click for extended control” in
the LUT section :
Read function : “
r lutc <addr>
” : Read 128 LUT coefficients starting from address
<addr>
from 0 to
4095-128. Returned value is the concatenation in hexadecimal of individual LUT values, without
space between values. (one unsigned short per coefficient)
Write function :”
w lutc <addr><val>
: Write 128 LUT coefficients starting from address
<addr>
form 0 to 4095-128.
<val>
is the concatenation in hexadecimal of individual LUT values, without
space between values. (one unsigned short per coefficient)