[Python] what is the interval of the return values of Delta E functions for comparing Cielab...

Discussão em 'Python' iniciado por Stack, Maio 29, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to turn comparison values of Cielab colours using Delta E functions from python colormath (delta_e_cie2000, etc.) into a probability distribution. The problem is, that I could not find any reference on the Delta E functions telling me what interval [min, max], the return value is element of.

    The result of e.g two SRGB colors red and blue:

    c1 = convert_color(convert_color(sRGBColor(1,0,0), XYZColor), LabColor)
    c2 = convert_color(convert_color(sRGBColor(0,0,1), XYZColor), LabColor)
    print(delta_e_cie2000(c1, c2))


    is 52.880.

    If the interval was [0,100], I could just divide by 100 to normalize it to numbers between [0,1].

    Does anybody know a reference or has an idea how to determine the min and max value? I do not want to iteratively test it by randomizing colours and trying to find the thresholds.

    Continue reading...

Compartilhe esta Página