deltaE94G

fun deltaE94G(@Size(value = 3) lab1: DoubleArray, @Size(value = 3) lab2: DoubleArray): Double

Takes two CIELAB values and calculates color difference (dE) using CIE1994 formula for the graphic design application (kL = 1, k1 = 0.045, k2 = 0.015). NOTE: both CIELAB values must share the same reference white. If they do not: convert to XYZ, adapt, convert back to CIELAB before calculating dE.

Return

delta E (1994) value

Parameters

lab1

First CIELAB value (element order L, a, b)

lab2

Second CIELAB value (element order L, a, b)

See also