Lines Matching refs:saturation

169 %  saturation strategy to project it on the RGB cube.
274 % ConvertHSBToRGB() transforms a (hue, saturation, brightness) to a (red,
279 % void ConvertHSBToRGB(const double hue,const double saturation,
284 % o hue, saturation, brightness: A double value representing a
290 MagickPrivate void ConvertHSBToRGB(const double hue,const double saturation,
306 if (fabs(saturation) < MagickEpsilon)
315 p=brightness*(1.0-saturation);
316 q=brightness*(1.0-saturation*f);
317 t=brightness*(1.0-(saturation*(1.0-f)));
378 % ConvertHSIToRGB() transforms a (hue, saturation, intensity) to a (red,
383 % void ConvertHSIToRGB(const double hue,const double saturation,
388 % o hue, saturation, intensity: A double value representing a
394 MagickPrivate void ConvertHSIToRGB(const double hue,const double saturation,
413 b=intensity*(1.0-saturation);
414 r=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)*
422 r=intensity*(1.0-saturation);
423 g=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)*
430 g=intensity*(1.0-saturation);
431 b=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)*
452 % ConvertHSLToRGB() transforms a (hue, saturation, lightness) to a (red,
457 % void ConvertHSLToRGB(const double hue,const double saturation,
462 % o hue, saturation, lightness: A double value representing a
468 MagickExport void ConvertHSLToRGB(const double hue,const double saturation,
485 c=2.0*lightness*saturation;
487 c=(2.0-2.0*lightness)*saturation;
557 % ConvertHSVToRGB() transforms a (hue, saturation, value) to a (red,
562 % void ConvertHSVToRGB(const double hue,const double saturation,
567 % o hue, saturation, value: A double value representing a
573 MagickPrivate void ConvertHSVToRGB(const double hue,const double saturation,
589 c=value*saturation;
968 % ConvertRGBToHSB() transforms a (red, green, blue) to a (hue, saturation,
974 % const double blue,double *hue,double *saturation,double *brightness)
981 % o hue, saturation, brightness: A pointer to a double value representing a
986 const double blue,double *hue,double *saturation,double *brightness)
997 assert(saturation != (double *) NULL);
1000 *saturation=0.0;
1011 *saturation=delta/max;
1039 % ConvertRGBToHSI() transforms a (red, green, blue) to a (hue, saturation,
1045 % const double blue,double *hue,double *saturation,double *intensity)
1052 % o hue, saturation, intensity: A pointer to a double value representing a
1057 const double blue,double *hue,double *saturation,double *intensity)
1067 assert(saturation != (double *) NULL);
1073 *saturation=0.0;
1076 *saturation=1.0-MagickMin(QuantumScale*red,MagickMin(QuantumScale*green,
1097 % ConvertRGBToHSL() transforms a (red, green, blue) to a (hue, saturation,
1103 % const double blue,double *hue,double *saturation,double *lightness)
1110 % o hue, saturation, lightness: A pointer to a double value representing a
1115 const double blue,double *hue,double *saturation,double *lightness)
1126 assert(saturation != (double *) NULL);
1137 *saturation=0.0;
1153 *saturation=c/(2.0*(*lightness));
1155 *saturation=c/(2.0-2.0*(*lightness));
1170 % ConvertRGBToHSV() transforms a (red, green, blue) to a (hue, saturation,
1176 % const double blue,double *hue,double *saturation,double *value)
1183 % o hue, saturation, value: A pointer to a double value representing a
1188 const double blue,double *hue,double *saturation,double *value)
1199 assert(saturation != (double *) NULL);
1210 *saturation=0.0;
1225 *saturation=c/max;