aest 0.1.0
Collection of C++ utility libraries
Loading...
Searching...
No Matches
aest::colors::Euclidean< CIELab > Struct Reference

Euclidean distance in CIELab: ΔE*ab, the CIE 1976 color difference that de_76() measures. More...

Static Public Member Functions

static float distance (const CIELab &color1, const CIELab &color2)
 CIE 1976 difference between two colors, ignoring alpha.

Detailed Description

Euclidean distance in CIELab: ΔE*ab, the CIE 1976 color difference that de_76() measures.

Definition at line 102 of file Distance.cppm.

Member Function Documentation

◆ distance()

float aest::colors::Euclidean< CIELab >::distance ( const CIELab & color1,
const CIELab & color2 )
inlinestatic

CIE 1976 difference between two colors, ignoring alpha.

Parameters
[in]color1First color
[in]color2Second color
Returns
The distance, 0 or greater: about 2.3 is just noticeable, and black to white is 100.

Definition at line 111 of file Distance.cppm.


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