Lines Matching refs:intensity
96 const double intensity,double *red,double *green,double *blue) in ConvertHSIToRGB() argument
105 *blue=intensity*(1.0-saturation); in ConvertHSIToRGB()
106 *red=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB()
108 *green=3.0*intensity-*red-*blue; in ConvertHSIToRGB()
114 *red=intensity*(1.0-saturation); in ConvertHSIToRGB()
115 *green=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB()
117 *blue=3.0*intensity-*red-*green; in ConvertHSIToRGB()
122 *green=intensity*(1.0-saturation); in ConvertHSIToRGB()
123 *blue=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB()
125 *red=3.0*intensity-*green-*blue; in ConvertHSIToRGB()
133 const double blue,double *hue,double *saturation,double *intensity) in ConvertRGBToHSI() argument
139 *intensity=(QuantumScale*red+QuantumScale*green+QuantumScale*blue)/3.0; in ConvertRGBToHSI()
140 if (*intensity <= 0.0) in ConvertRGBToHSI()
147 QuantumScale*blue))/(*intensity); in ConvertRGBToHSI()