Color Creation and Enhancement AW00089317000
184 Basler ace GigE
8.4.4.1 The Custom Light Source Setting
The YUV to RGB color matrix conversion is performed by multiplying a 1 x 3 matrix containing the
Y, U, and V color values for a pixel with a 3 x 3 matrix containing correction values. In the 3 x 3
matrix, the first column is populated by values of 1.0 and cannot be changed. The second and third
columns can be populated with values of your choice. In other words:
Where Gain01, Gain12, etc. are settable values.
Each GainXY position can each be populated with a floating point value ranging from -8.0 to
+7.96875 by using the Color Transformation Value Selector to select one of the GainXY positions
in the matrix and using the Color transformation Value parameter to enter a value for that position.
As an alternative the Gain XY values can each be entered as an integer value on a scale ranging
from -256 to +255. This integer range maps linearly to the floating point range with -256 being
equivalent to -8.0, 32 being equivalent to 1.0, and +255 being equivalent to +7.96875. The integer
values can be entered using the Color transformation Value Raw parameter.
A reference article that explains the basics of color matrix transformation for video data can be
found at:
http://www.its.bldrdoc.gov/publications/2437.aspx
The "Custom" setting for the Light Source Selector parameter is intended for use
by someone who is thoroughly familiar with matrix color transformations. It is
nearly impossible to enter correct values in the conversion matrix by trial
and error.
1.0 Gain01 Gain02
1.0 Gain11 Gain12
1.0 Gain21 Gain22
Y
U
V
R
G
B
=