Hue and saturation – ALLIED Vision Technologies Guppy PRO F-503 User Manual
Page 137

Description of the data path
Guppy PRO Technical Manual V4.0.0
135
In color interpolation a red, green or blue value is determined for each pixel.
Only two lines are needed for this interpolation:
Hue and saturation
Guppy PRO CCD and Guppy PRO F-503 color models are equipped with hue and
saturation registers.
The hue register at offset 810h allows the color of objects to be changed
without altering the white balance, by +/- 40 steps (+/- 10°) from the nom-
inal perception. Use this setting to manipulate the color appearance after
having carried out the white balance.
The saturation register at offset 814h allows the intensity of the colors to
be changed between 0 and 200% in steps of 1/256.
This means a setting of zero changes the image to black and white and a set-
ting of 511 doubles the color intensity compared to the nominal one at 256.
Figure 65: BAYER demosaicing (interpolation)
Formula 4: BAYER demosaicing
Note
Configuration
To configure this feature in feature control register:
See offset
on page 233 and
P1
red
R1
=
P1
green
G1
G3
+
2
-------------------
=
P1
blue
B1
=
P2
red
R2
=
P2
green
G1
G4
+
2
-------------------
=
P2
blue
B1
=
P3
red
R2
=
P3
green
G2
G4
+
2
-------------------
=
P3
blue
B2
=