2 0 H a M e s i l a S t . , N e s h e r 3 6 8 8 5 2 0 , I s r a e l
P O B 2 5 0 0 4 , H a i f a 3 1 2 5 0 0 1 , I s r a e l
T e l : ( + 9 7 2 ) - 7 2 - 2 7 2 3 5 0 0 F a x : ( + 9 7 2 ) - 7 2 - 2 7 2 3 5 1 1
Page no. 24 | Configuration Interface
6.5
LUT control
The LUT Control can be used to re-map the camera linear output in different manner. Mostly to compensate for
the non-linear scene emission.
LUT configuration typical applications include enhancing gamma or image contrast, brightness changes, gray value
spreading, setting individual gradation curves, etc.
Figure 16 – LUT Control category in GenICam Browser
6.5.1
LUT Control XML Parameters
Parameter
Description
Gen<i>Cam
name
Type
Possible values
Remarks
Value
Gen<i>Cam name
Gen<i>Cam Category: LUTControl
LUT Selector
Selects which LUT to control
LUTSelector
Enumeration
(Selector)
0
Red
1
Green
2
Blue
0xFF
All
LUT Enable
Activates the selected LUT
LUTEnable [LUTSelector]
Boolean
0 - false
1 - true
LUT Index
Control the index (offset) of
the coefficient to access in the
selected LUT
LUTIndex [LUTSelector]
Integer
Max. 4095
LUT Value
Returns the Value at entry
LUTIndex of the LUT selected
by LUTSelector
LUTValue [LUTSelector]
[LUTIndex]
Integer
Max. 4095
LUT Value All
Accesses all the LUT
coefficients in a single access
without using individual
LUTIndex
LUTValueAll [LUTSelector]
IRegister
Table 13 – LUT Control parameters
6.5.2
LUT pixel re-map algorithm
Each index at the LUT corresponds to the pixel value and the LUT value at this index corresponds to the value that
the pixels should be replaced with. The applied valid LUT index and corresponding value will be re-mapped
according to selected pixel bitness. i.e For 8 bit the applied indexes will be 0-255, for 10 bit the applied indexes
will be 0-1023, for 12 bit the applied indexes will be 0-4095.
Pixel value is replaced according to the following equation:
P
red
(x, y) = LUT
red
[P
red
(x, y)]
P
green
(x, y) = LUT
green
[P
green
(x, y)]
P
blue
(x, y) = LUT
blue
[P
blue
(x, y)]
Where P(x,y) is the pixel at offset X in horizontal and Y in vertical, of specific color.