The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home BasePack SDLColors Procedures and Functions RGBtoGrayColor | |||||||||
See also: RGBtoHSI, RGBtoGray, ColorToGrayColor, RGBtoCMY, RGBtoHSV | |||||||||
RGBtoGrayColor |
|||||||||
The function RGBtoGrayColor transforms a color defined in the RGB color space by the parameters r (red, valid range: 0..255), g (green, valid range: 0..255), and b (blue, valid range: 0..255) into gray of corresponding intensity.
|