DeltaE: Calculate the Color Difference between Two Colors
Description
Calculate the 1976 Standard CIE Color Difference between two Colors.
Usage
DeltaE( Lab0, Lab1 )
Arguments
Lab0
a numeric Nx3 matrix with Lab values in the rows, or a vector that can be converted to such a matrix, by row.
Lab0 can also be a numeric 3-vector with a single Lab, and it is then replicated
to match the size of Lab1.
Lab1
a numeric Nx3 matrix with Lab values in the rows, or a vector that can be converted to such a matrix, by row.
Lab1 can also be a numeric 3-vector with a single Lab, and it is then replicated
to match the size of Lab0.
Value
A numeric N-vector with the pairwise differences,
i.e. between row i of Lab0 and row i of Lab1.
The difference is simply the Euclidean distance between the two points in Lab.
Future Work
The current DeltaE was approved by CIE in 1976.
Since then there have been many improved formulas.