CIEDE2000 (Delta E 2000) color difference.
More...
#include <metrics.h>
|
| CIEDE2000 (double K_L=1.0, double K_C=1.0, double K_H=1.0) |
| Construct CIEDE2000 metric with optional weighting factors.
|
|
template<typename ColorType1 , typename ColorType2 > |
double | operator() (const ColorType1 &c1, const ColorType2 &c2) const |
| Calculate CIEDE2000 color difference.
|
|
CIEDE2000 (Delta E 2000) color difference.
CIEDE2000 color difference formula space.
Definition at line 171 of file metrics.h.
◆ CIEDE2000()
qualpal::metrics::CIEDE2000::CIEDE2000 |
( |
double |
K_L = 1.0 , |
|
|
double |
K_C = 1.0 , |
|
|
double |
K_H = 1.0 |
|
) |
| |
|
inlineexplicit |
Construct CIEDE2000 metric with optional weighting factors.
- Parameters
-
K_L | Lightness weighting factor (default: 1.0) |
K_C | Chroma weighting factor (default: 1.0) |
K_H | Hue weighting factor (default: 1.0) |
Definition at line 185 of file metrics.h.
◆ operator()()
template<typename ColorType1 , typename ColorType2 >
double qualpal::metrics::CIEDE2000::operator() |
( |
const ColorType1 & |
c1, |
|
|
const ColorType2 & |
c2 |
|
) |
| const |
|
inline |
Calculate CIEDE2000 color difference.
- Template Parameters
-
ColorType1 | Any color class that can be converted to colors::Lab |
ColorType2 | Any color class that can be converted to colors::Lab |
- Parameters
-
c1 | First color |
c2 | Second color |
- Returns
- CIEDE2000 Delta E value
Definition at line 203 of file metrics.h.
The documentation for this class was generated from the following file: