Searched refs:hsv2 (Results 1 – 1 of 1) sorted by relevance
104 static double HsvDistance(const HsvColor& hsv1, const HsvColor& hsv2) in HsvDistance() argument115 double x2 = GetHsvDisX(hsv2, r); in HsvDistance()116 double y2 = GetHsvDisY(hsv2, r); in HsvDistance()117 double z2 = GetHsvDisZ(hsv2, h); in HsvDistance()143 HsvColor hsv2 = RgbToHsv(color2.argb.red, color2.argb.green, color2.argb.blue); in IsColorSimilar() local145 double distance = HsvDistance(hsv1, hsv2); in IsColorSimilar()