Searched refs:hsv (Results 1 – 8 of 8) sorted by relevance
198 if ((hsv.v > 30 && hsv.s <= 5) || (hsv.v > 15 && hsv.v <= 30 && hsv.s <= 15) || (hsv.v <= 15)) { in IsBlackOrWhiteOrGrayColor()358 if (hsv.h > 20 && hsv.h <= 60) { in GenerateMorandiShadowColor()362 } else if (hsv.h > 60 && hsv.h <= 190) { in GenerateMorandiShadowColor()425 if (hsv.h > 20 && hsv.h <= 50) { in DiscriminateDarkOrBrightColor()464 double x = hsv.s + hsv.v; in AdjustToBasicColor()470 hsv.s = hsv.s - hsv.s / x * z; in AdjustToBasicColor()471 hsv.v = hsv.v - hsv.v / x * z; in AdjustToBasicColor()478 if (hsv.h >= 18 && hsv.h <= 69) { in ProcessToDarkColor()481 } else if (hsv.h > 69 && hsv.h <= 189) { in ProcessToDarkColor()707 hsv.h = (hsv.h > 359) ? (hsv.h - 360) : hsv.h; // 359 is used to adjust hue to range [0, 360]. in RGB2HSV()[all …]
97 HSV hsv = {0}; in GetHighestSaturationColor() local141 if ((hsv.v > 30 && hsv.s <= 5) || (hsv.v > 15 && hsv.v <= 30 && hsv.s <= 15) || (hsv.v <= 15)) { in IsBlackOrWhiteOrGrayColor()160 HSV hsv; in RGB2HSV() local197 hsv.h = (hsv.h > 359) ? (hsv.h - 360) : hsv.h; // 359 is used to adjust hue to range [0, 360]. in RGB2HSV()198 hsv.h = (hsv.h < 0) ? (hsv.h + 360) : hsv.h; // Adjust hue to range [0, 360]. in RGB2HSV()202 return hsv; in RGB2HSV()210 if (hsv.h < 0) { in AdjustHSVToDefinedIterval()211 hsv.h = 0; in AdjustHSVToDefinedIterval()216 if (hsv.s < 0) { in AdjustHSVToDefinedIterval()217 hsv.s = 0; in AdjustHSVToDefinedIterval()[all …]
191 HSV hsv; variable193 hsv.h = 361;194 hsv.s = 101;197 hsv.h = -1;198 hsv.s = -1;199 hsv.v = -1;212 HSV hsv; variable213 hsv.h = -1;214 hsv.s = -1;215 hsv.v = -1;[all …]
61 HsvColor hsv; in RgbToHsv() local69 hsv.h = ZERO_DOUBLE; in RgbToHsv()80 hsv.s = ZERO_DOUBLE; in RgbToHsv()82 hsv.s = delta / max; in RgbToHsv()85 hsv.v = max; in RgbToHsv()86 return hsv; in RgbToHsv()89 static inline double GetHsvDisX(const HsvColor& hsv, double r) in GetHsvDisX() argument91 return r * hsv.v * hsv.s * cos(hsv.h / ONE_HUNDRED_EIGHTY_ANGLE * PI_CIRCLE); in GetHsvDisX()94 static inline double GetHsvDisY(const HsvColor& hsv, double r) in GetHsvDisY() argument96 return r * hsv.v * hsv.s * sin(hsv.h / ONE_HUNDRED_EIGHTY_ANGLE * PI_CIRCLE); in GetHsvDisY()[all …]
95 void GenerateMorandiBackgroundColor(HSV& hsv) const;96 void GenerateMorandiShadowColor(HSV& hsv) const;99 ColorBrightnessMode DiscriminateDarkOrBrightColor(const HSV& hsv) const;100 void ProcessToDarkColor(HSV& hsv) const;101 void ProcessToBrightColor(HSV& hsv) const;102 void AdjustToBasicColor(HSV& hsv, double basicS, double basicV) const;106 void AdjustHSVToDefinedIterval(HSV& hsv) const;107 uint32_t HSVtoRGB(HSV hsv) const;
51 void AdjustHSVToDefinedIterval(HSV& hsv) const;52 uint32_t HSVtoRGB(HSV hsv) const;
3705 /�N</�I�Ghsv�2u������@�A���2wvn0�
Error! Your browser does not support the video tag. There was an error! Java heap space java.lang.OutOfMemoryError: Java heap space
Java heap space
java.lang.OutOfMemoryError: Java heap space