MCL
Minimalistic Color Library
 All Classes Files
distance.hh File Reference
+ Include dependency graph for distance.hh:
+ This graph shows which files directly or indirectly include this file:

Typedefs

typedef double(* DistanceFunction )(const Color &, const Color &, const Environment &)
 

Functions

template<typename C1 , typename C2 >
double cie_1976 (C1 const &c1, C2 const &c2, const Environment &)
 
template<typename C1 , typename C2 >
double cie_1976 (C1 const &c1, C2 const &c2)
 
double cie_1976 (LAB const &x1, LAB const &x2)
 
template<typename C1 , typename C2 >
double cie_1994 (C1 const &c1, C2 const &c2, const Environment &)
 
template<typename C1 , typename C2 >
double cie_1994 (C1 const &c1, C2 const &c2)
 
double cie_1994 (LAB const &x1, LAB const &x2)
 
template<typename C1 , typename C2 >
double cie_2000 (C1 const &c1, C2 const &c2, const Environment &)
 
template<typename C1 , typename C2 >
double cie_2000 (C1 const &c1, C2 const &c2)
 
double cie_2000 (LAB const &x1, LAB const &x2)
 
double delta_e (const DistanceFunction &f, const Color &c1, const Color &c2, const Environment &e)
 
double delta_e (const DistanceFunction &f, const Color &c1, const Color &c2)