Configuration of the camera
STINGRAY Technical Manual
V4.4.2
323
Color correction
To switch off color correction in YUV mode: see bit [6]
For an explanation of the color correction matrix and for further information
read Chapter
Register
Name
Field
Bit
Description
0xF10003A0 COLOR_CORR
Presence_Inq
[0]
Indicates presence of this
feature (read only)
---
[1..5]
Reserved
ON_OFF
[6]
Color correction on/off
default: on
Write: 02000000h to switch
color correction
OFF
Write: 00000000h to switch
color correction
ON
Reset
[7]
Reset to defaults
---
[8..31]
Reserved
0xF10003A4 COLOR_CORR_COEFFIC11 = Crr
[0..31]
A number of 1000 equals a
color correction coefficient
of 1.
Color correction values
range -1000..+2000 and are
signed 32 bit
.
In order for white balance
to work properly ensure that
the row sum equals to 1000.
The maximum row sum is
limited to 2000.
0xF10003A8 COLOR_CORR_COEFFIC12 = Cgr
[0..31]
0xF10003AC COLOR_CORR_COEFFIC13 = Cbr
[0..31]
0xF10003B0 COLOR_CORR_COEFFIC21 = Crg
[0..31]
0xF10003B4 COLOR_CORR_COEFFIC22 = Cgg
[0..31]
0xF10003B8 COLOR_CORR_COEFFIC23 = Cbg
[0..31]
0xF10003BC COLOR_CORR_COEFFIC31 = Crb
[0..31]
0xF10003C0 COLOR_CORR_COEFFIC32 = Cgb
[0..31]
0xF10003C4 COLOR_CORR_COEFFIC33 = Cbb
[0..31]
0xF10003A4
...
0xF10003FC
Reserved for
testing purposes
Don’t touch!
Table 148: Advanced register:
Color correction