更新时间:2021-08-01 22:24:16
与其使用 RGB,不如尝试使用 HSL(色相、饱和度、亮度)或 HSV(色相、饱和度和值)颜色模型.然后尝试不同的偏见元素,例如在计算距离时,色调比亮度更重要.
Rather than using RGB, try using an HSL (Hue, Saturation, Lightness) or HSV (Hue, Saturation and Value) color model. Then experiment with different elements of bias, e.g. hue being more important than luminance when you're calculating the distance.