Color::ConvertRGBToHSI

Color::ConvertRGBToHSI
static SF_EXPORT void SF_STDCALL ConvertRGBToHSI(Double r, Double g, Double b, Double * ph, Double * ps, Double * pi);
Description

ConvertRGBToHSI performs a precise RGB to HSI conversion using floating-point trig calculations. 

See Color::Rgb and Color::Hsi for a description of the two color spaces.

Parameters
Parameters 
Description 
Double r 
The red value of the source RGB color, ranging from 0.0 to 1.0. 
Double g 
The green value of the source RGB color, ranging from 0.0 to 1.0. 
Double b 
The blue value of the source RGB color, ranging from 0.0 to 1.0. 
Double * ph 
A pointer to the destination value of the hue, ranging from 0.0 to 1.0. 
Double * ps 
A pointer to the destination value of the saturation, ranging from 0.0 to 1.0. 
Double * pi 
A pointer to the destination value of the intensity, ranging from 0.0 to 1.0. 
See Also