Instruction manual

Marlin Technical ManualV.2.7.0
102
Description of the data path
Color conversion (RGB YUV)
The conversion from RGB to YUV is made using the following formulae:
Hue and saturation
Marlin CCD color models are equipped with hue and saturation registers.
The hue register at offset 810h allows to change the color of objects without
changing the white balance by +/- 40 steps (+/- 10°) from the nominal percep-
tion. Use this setting to manipulate the color appearance after having done the
white balance.
The saturation register at offset 814h allows to change the intensity of the col-
ors by +/-100%.
This means a setting of zero changes the image to black and white and a setting
of 511 doubles the color intensity compared to the nominal one at 256.
Note
Configuration
To configure this feature in an advanced register: See Table
118: Advanced register: Color correction on page 215.
Color-correction coefficients cannot be changed.
Formula 2: RGB to YUV conversion
Note
As mentioned above: Color processing can be bypassed
by using the so called RAW image transfer.
•RGB YUV conversion can be bypassed by using RGB8
format and mode. This is advantageous for edge color
definition but needs more bandwidth (300% instead of
200% relative to b/w or RAW consumption) for the trans-
mission, so that the maximal frame frequency will drop.
Y0.3R 0.59 G 0.11 B++=
U0.169 R 0.33 G 0.498 B 128++=
V0.498R 0.420 G 0.082 B 128+=