CIE76 (Delta E 1976) color difference metric.
More...
#include <metrics.h>
|
template<typename ColorType1 , typename ColorType2 > |
double | operator() (const ColorType1 &c1, const ColorType2 &c2) const |
| Calculate CIE76 color difference.
|
|
CIE76 (Delta E 1976) color difference metric.
Computes the Euclidean distance between two colors in CIE Lab space. This is the simplest color difference formula, but less perceptually accurate than DIN99d or CIEDE2000.
- Template Parameters
-
ColorType1,ColorType2 | Any color type convertible to colors::Lab. |
- See also
- qualpal::colors::Lab
Definition at line 169 of file metrics.h.
◆ operator()()
template<typename ColorType1 , typename ColorType2 >
double qualpal::metrics::CIE76::operator() |
( |
const ColorType1 & |
c1, |
|
|
const ColorType2 & |
c2 |
|
) |
| const |
|
inline |
Calculate CIE76 color difference.
- Template Parameters
-
- Parameters
-
c1 | First color |
c2 | Second color |
- Returns
- CIE76 Delta E value
Definition at line 180 of file metrics.h.
The documentation for this struct was generated from the following file: