Searched refs:hsv1 (Results 1 – 1 of 1) sorted by relevance
104 static double HsvDistance(const HsvColor& hsv1, const HsvColor& hsv2) in HsvDistance() argument111 double x1 = GetHsvDisX(hsv1, r); in HsvDistance()112 double y1 = GetHsvDisY(hsv1, r); in HsvDistance()113 double z1 = GetHsvDisZ(hsv1, h); in HsvDistance()142 HsvColor hsv1 = RgbToHsv(color1.argb.red, color1.argb.green, color1.argb.blue); in IsColorSimilar() local145 double distance = HsvDistance(hsv1, hsv2); in IsColorSimilar()