
Genesis Microchip
gm5060 / gm5060-H Data Sheet
February 2002
C5060-DAT-01G
37
Brightness
is an additive factor applied to Y.
The equations for these controls are as follows:
Y(out)
=
(Y - YBlackLevel) * Contrast + Brightness
Cb(out)
=
(Cb * cos(Hue) + Cr * sin(Hue)) * Saturation
=
Cb * Sat*cos(Hue) + Cr * Sat*sin(Hue)
Cr(out)
=
(Cr * cos(Hue) - Cb * sin(Hue)) * Saturation
=
Cr * Sat*cos(Hue) - Cb * Sat*sin(Hue)
Parameters are used directly in the associated multiplication and summation operations as
programmed.
4.8.2 RealColor Flesh tone Adjustment
The human eye is more sensitive to variations of flesh tones than other colors; for example, the
user may not care if the color of grass is modified slightly during image capture and/or display.
However, if skin tones are modified by even a small amount, it is unacceptable. The gm5060
features flesh tone adjustment capabilities. This feature is not based on lookup tables, but rather a
manipulation of YUV-channel parameters. Flesh tone adjustment is available for all inputs.
4.8.3 RGB Black Level / Contrast / Brightness
The black level adjustment is a subtractive stage, lowering each input pixel by a programmable
value. This may be used to adjust the baseline black value of the input data.
R(out)
=
(R - RedBlackLevel) * RedContrast + RedBrightness
G(out)
=
(G - GreenBlackLevel) * GreenContrast + GreenBrightness
B(out)
=
(B - BlueBlackLevel) * BlueContrast + BlueBrightness
For example, if the lowest valued pixel expected to be encountered is 16, then 16 could be
subtracted from all input pixels, making the pixel value 16 (or lower) black. The desired black
level is maintained through the following contrast (multiplicative) stage.
The contrast adjustment increases or decreases the slope of the input / output function as shown
below.
The brightness adjustment is a straight additive stage, increasing each pixel value by a
programmed amount (saturating at 255).