• Home
  • Raw
  • Download

Lines Matching refs:saturation

286 MagickPrivate void ConvertHSBToRGB(const double hue,const double saturation,  in ConvertHSBToRGB()  argument
302 if (fabs(saturation) < MagickEpsilon) in ConvertHSBToRGB()
311 p=brightness*(1.0-saturation); in ConvertHSBToRGB()
312 q=brightness*(1.0-saturation*f); in ConvertHSBToRGB()
313 t=brightness*(1.0-(saturation*(1.0-f))); in ConvertHSBToRGB()
389 MagickPrivate void ConvertHSIToRGB(const double hue,const double saturation, 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()
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()
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()
462 MagickExport void ConvertHSLToRGB(const double hue,const double saturation, in ConvertHSLToRGB() argument
479 c=2.0*lightness*saturation; in ConvertHSLToRGB()
481 c=(2.0-2.0*lightness)*saturation; in ConvertHSLToRGB()
566 MagickPrivate void ConvertHSVToRGB(const double hue,const double saturation, in ConvertHSVToRGB() argument
582 c=value*saturation; in ConvertHSVToRGB()
973 const double blue,double *hue,double *saturation,double *brightness) in ConvertRGBToHSB() argument
984 assert(saturation != (double *) NULL); in ConvertRGBToHSB()
987 *saturation=0.0; in ConvertRGBToHSB()
998 *saturation=delta/max; in ConvertRGBToHSB()
1043 const double blue,double *hue,double *saturation,double *intensity) in ConvertRGBToHSI() argument
1053 assert(saturation != (double *) NULL); in ConvertRGBToHSI()
1059 *saturation=0.0; in ConvertRGBToHSI()
1062 *saturation=1.0-MagickMin(QuantumScale*red,MagickMin(QuantumScale*green, in ConvertRGBToHSI()
1100 const double blue,double *hue,double *saturation,double *lightness) in ConvertRGBToHSL() argument
1111 assert(saturation != (double *) NULL); in ConvertRGBToHSL()
1122 *saturation=0.0; in ConvertRGBToHSL()
1138 *saturation=c/(2.0*(*lightness)); in ConvertRGBToHSL()
1140 *saturation=c/(2.0-2.0*(*lightness)); in ConvertRGBToHSL()
1172 const double blue,double *hue,double *saturation,double *value) in ConvertRGBToHSV() argument
1183 assert(saturation != (double *) NULL); in ConvertRGBToHSV()
1194 *saturation=0.0; in ConvertRGBToHSV()
1209 *saturation=c/max; in ConvertRGBToHSV()