ConvertHSIToRGB performs a precise HSI to RGB conversion using floating-point trig calculations.
See Color::Hsi and Color::Rgb for a description of the two color spaces.
Parameters |
Description |
Double h |
The hue value of the source HSI, ranging from 0.0 to 1.0. |
Double s |
The saturation value of the source HSI, ranging from 0.0 to 1.0. |
Double i |
The intensity value of the source HSI, ranging from 0.0 to 1.0. |
Double * pr |
A pointer to the destination value of the red channel, ranging from 0.0 to 1.0. |
Double * pg |
A pointer to the destination value of the green channel, ranging from 0.0 to 1.0. |
Double * pb |
A pointer to the destination value of the blue channel, ranging from 0.0 to 1.0. |