Page 42
Appendix | Measurement Data Format
colorCONTROL MFA-7/-14/-21/-28
Deactivated channels are not transmitted and the frame becomes shorter accordingly. The three colors are transmitted in
the following order depending on the color space:
Color
space
Color1 Color2 Color3
XYZ
X
Y
Z
xyY
x
y
Y
L*u*v*
L*
u*
v*
L*u‘v‘
L*
u‘
v‘
RGB
R
G
B
Converting Measured Values to Color Models
When using MEDAQLib, the raw values delivered by the sensor are automatically transferred into the required color
space. If MEDIAQLib is not used, the delivered raw data of the sensor itself needs to be converted accordingly. In order
to convert the raw values provided by the sensor into a color value, the following formula is used:
scaled color =
raw value - offset
factor
Different values need to be used for the values for the variable factor and offset depending on the color model into which
conversion is to take place. No conversion is required for the color temperature (K) and wavelength (nm).
The values for the factor and offset are listed in the following table.
Factor:
Color1
Color2
Color3
XYZ
1310
1310
1310
xyY
218000
218000
1310
Luv
1310
1190
1190
uvL
1310
218000
218000
RGB
1024
1024
1024
Offset:
Color1
Color2
Color3
XYZ
0
0
0
xyY
21800
21800
0
Luv
0
130900
130900
uvL
20960
21800
21800
RGB
0
0
0
Example:
Converting the raw value into the color space XYZ. For this example, it is assumed that the sensor delivers the following
raw values: (226120 ; 0 ; 0)
Conversion into XYZ
X:
scaled color =
raw value - offset
factor
scaled color =
= 199.328
261120 - 0
1310
scaled color =
= 0
0 - 0
1310
Y:
scaled color =
raw value - offset
factor
scaled color =
= 199.328
261120 - 0
1310
scaled color =
= 0
0 - 0
1310
Z:
scaled color =
raw value - offset
factor
scaled color =
= 199.328
261120 - 0
1310
scaled color =
= 0
0 - 0
1310