qualpal 2.3.0
Loading...
Searching...
No Matches
qualpal::metrics::CIE76 Struct Reference

CIE76 (Delta E 1976) color difference. More...

#include <metrics.h>

Public Member Functions

template<typename ColorType1 , typename ColorType2 >
double operator() (const ColorType1 &c1, const ColorType2 &c2) const
 Calculate CIE76 color difference.
 

Detailed Description

CIE76 (Delta E 1976) color difference.

Standard CIE76 color difference formula using Euclidean distance in CIE Lab space.

Definition at line 147 of file metrics.h.

Member Function Documentation

◆ 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
ColorType1Any color class that can be converted to colors::DIN99d
ColorType2Any color class that can be converted to colors::DIN99d
Parameters
c1First color
c2Second color
Returns
CIE76 Delta E value

Definition at line 158 of file metrics.h.


The documentation for this struct was generated from the following file: