DataLab
is a compact statistics package aiming at exploratory data analysis. Please visit the
DataLab Web site
for more information....
Home
Programming DataLab
DLabPascal
Colors
ColorToGrayValue
See also:
ColorToGrayColor
,
ColorToRGB
,
RGB
Index
Statistical Background
ColorToGrayValue
Declaration:
ColorToGrayValue
(Cl:
TColor
): integer;
The function
ColorToGrayValue
transforms the color
Cl
into a gray value in the range between 0 (black) and 255 (white). The gray value is calculated according to common television standards.