Qualpal
Repositories

qualpal::metrics

C++ · cpp · 4.1.0

namespace qualpal::metrics

Color difference metrics for perceptual color comparison.

Contains functor classes implementing standard color difference formulas (DIN99d, CIE76, CIEDE2000) for quantifying perceptual differences between colors. Used in palette selection (e.g., farthestPoints()), palette analysis, and color distinguishability evaluation.

All metric classes:

  • Are callable with operator() taking two color objects.

  • Are template-based to accept any color type convertible to the required color space.

  • Return a numeric difference value (Delta E; higher = more different).

See also

colorDifferenceMatrix() for computing full distance matrices.

See also

farthestPoints() for palette selection using these metrics.