OPERATING AND USER MANUAL QUARTZ series CXP
34
Gain and black level (Icategory: AnalogControl)
6.6
The GenICam AnalogControl is somewhat misleading for this section, originating from the GenICam
lingo. In the camera, gain and black level can be adjusted but that is done in the digital domain.
In both monochrome and Bayer cameras a gain applicable for all pixels is available. In Bayer cameras,
in addition a gain per color channel (R, G, B) can be applied.
Only one gain can be programmed at a time, with GainRaw. In color cameras, the gain that is
programmed is to be selected by the GainSelector (All, Red, Green or Blue). In monochrome cameras
only All is available.
Another subtle difference between color monochrome cameras is in the BlackLevelRaw.
In color cameras, the BlackLevelRaw is not enhanced when gain is applied.
•
In monochrome cameras, the BlackLevelRaw is enhanced when gain is applied.
•
The BlackLevelRaw value is in 10 bit. If the output resolution is set to 8 bit, the actual black level is
equal to BlackLevelRaw/4.
When changing the gain in a color camera, fist the gain to be adjusted needs to be selected.
Example: change red channel gain to 1.5x
Write value ‘Red’ to register GainSelector,
1.
Write value ‘150’ to register GainRaw.
2.
PARAMETER NAME
INTERFACE
ACCESS
VISIBILITY
RANGE
DEFAULT
GainSelector
IEnumera-
tion
R/W
B
All
Red (color only)
Green (color only)
Blue (color only)
All
GainRaw[GainSelector]
IInteger
R/W
B
[All] 100 to 400
[Range Red, Green,
Blue] (100) to 400
100
BlackLevelRaw
IInteger
R/W
E
[Range] 0 to maxi-
mum graylevel.
20
Output remap (Icategory: LUTControl)
6.7
A Look-Up Table (LUT) functionality is available in the camera. It can be enabled or disabled with the
LUTEnable parameter.
Writing the LUT is done as follows:
Execute command LUTStart,
1.
Write ‘x
2.
0
’ to register LUTValue
Write ‘x
1
’ to register LUTValue
...
Write ‘x
1023
’ to register LUTValue
Execute command LUTEnd.
3.
LUTIndex i can be used to readback the LUT entry values, the values for LUT index i can be readback
via the LUTValue register.
The LUT is defined in 10 bit. In case of 8 bit output resolution of the camera, the bit reduction (by
omitting the 2 LSB’s) is done after application of the LUT.