deltaE static method

double deltaE(
  1. BigColor bc1,
  2. BigColor bc2,
  3. ColorDifferenceMethod colorDifferenceMethod
)

Implementation

static double deltaE(
    final BigColor bc1, final BigColor bc2, final ColorDifferenceMethod colorDifferenceMethod) {
  switch (colorDifferenceMethod) {
    case ColorDifferenceMethod.CIE76:
      return _deltaE_CIE76(bc1, bc2);
    case ColorDifferenceMethod.CIE94:
      return _deltaE_CIE94(bc1, bc2);
  }
}