Programming Manual
PHYTEC Messtechnik GmbH 2008 L-720e_0
133
P
ro
g
ra
m
m
in
g
M
a
n
u
a
l
Reading the contrast setting
WORD Get_Contrast(WORD nDevNo);
return value: actual contrast value
With this function you can ascertain the actual value of the contrast
register of the video processor. The returned value is an integer
number.
Setting of the color saturation
void Set_Saturation(WORD nDevNo,WORD nSat_U,
WORD nSat_V);
nSat_U: Saturation of the U-color portion (0..511, Default = 254)
nSat_V: Saturation of the V-color portion (0..511, Default = 180)
This function allows the separate setting of the color saturation for the
U- and V-color portion. With this parameters the amplification can be
separately regulated for both color portions. Usually the relation of the
values
nSat_U
and
nSat_V
are equal. The control of the difference
between the U- and V- portion allows the elimination of color cast
(which might stem from unbalanced color cameras). The resulting
effect will be a change of the color of the image.
nSat_U = U-saturation [%]
.
2.5400 [1/%] ; 0% ... 201.18 %
nSat_V = V-saturation [%]
.
2.1396 [1/%] ; 0% ... 238.83 %
Reading the color saturation
WORD Get_Sat_U(WORD nDevNo);
WORD Get_Sat_V(WORD nDevNo);
return value: value of the actual U- or V-color saturation
This function provides the content of the registers for the color
saturation.