Instruction manual
Description of the data path
8.15.2 Color correction
Color correction is performed on all color CCD models before YUV conversion and mapped via a
ensor specific coefficients C
xy
are scientifically generated to ensure that GretagMacbeth™
olorChecker®-colors are displayed with highest color fidelity and color balance.
Color correction is deactivated in Mono8 mode (RAW image transport).
lor correction ON (Default)
matrix as follows.
blueCbbgreenCgbredCrbblue
⋅+⋅+⋅=
*
blueCbggreenCggredCrggreen
blueCbrgreenCgrredCrrred
⋅+⋅+⋅=
⋅+⋅+⋅=
*
*
S
C
Color correction can also be switched off in YUV mode with the help of the following register:
0xF10003A0 COLOR_CORR Marlin C-type CCD cameras only:
Write: 02000000h to switch Color correction OFF
Write: 00000000h to switch Co
8.15.3 RGB YUV conversion
The conversion from RGB to YUV is made using the following formulae:
+⋅−⋅−⋅=
+⋅+⋅−⋅−=
0
128082.0420.0498.0
128498.033.0169.0
11.059.03.
⋅
+
⋅
+⋅
BGRV
BGRU
BGR
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 advantage-
ous from the edge color definition but needs more bandwidth (300% instead of 200% relative
to b/w or RAW consumption) for the transmission, so that the maximal frame frequency will
drop.
8.15.4 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 perception. 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 colors 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.
=
Y
MARLIN Technical Manual
Page 86