deltaECmc

public final Double deltaECmc(@Size(value = 3) DoubleArray lab1, @Size(value = 3) DoubleArray lab2, Double l, Double c)

Takes two CIELAB values and calculates color difference (dE) using CMC(l:c) formula. Depends on model parameters l and c; common values used are CMC(2:1) for acceptability and CMC(1:1) for perceptibility. 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 (CMC) value

Parameters

lab1

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

lab2

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

l

model parameter l

c

model parameter c