Lines Matching refs:intensity
390 const double intensity,double *red,double *green,double *blue) in ConvertHSIToRGB() argument
408 b=intensity*(1.0-saturation); in ConvertHSIToRGB()
409 r=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB()
411 g=3.0*intensity-r-b; in ConvertHSIToRGB()
417 r=intensity*(1.0-saturation); in ConvertHSIToRGB()
418 g=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB()
420 b=3.0*intensity-r-g; in ConvertHSIToRGB()
425 g=intensity*(1.0-saturation); in ConvertHSIToRGB()
426 b=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB()
428 r=3.0*intensity-g-b; in ConvertHSIToRGB()
1043 const double blue,double *hue,double *saturation,double *intensity) in ConvertRGBToHSI() argument
1054 assert(intensity != (double *) NULL); in ConvertRGBToHSI()
1055 *intensity=(QuantumScale*red+QuantumScale*green+QuantumScale*blue)/3.0; in ConvertRGBToHSI()
1056 if (*intensity <= 0.0) in ConvertRGBToHSI()
1063 QuantumScale*blue))/(*intensity); in ConvertRGBToHSI()