aest 0.1.0
Collection of C++ utility libraries
Loading...
Searching...
No Matches
aest::colors::Euclidean< Space > Struct Template Referenceexport

Measures the Euclidean distance between two colors of a color space. More...

Detailed Description

template<ColorType Space>
struct aest::colors::Euclidean< Space >

Measures the Euclidean distance between two colors of a color space.

Specialize it for a color space to make it a EuclideanSpace, usable with euclidean(). Only spaces whose channels are Cartesian coordinates qualify: the hue of HSL and HSV is an angle, so they are left out.

Template Parameters
SpaceThe color space.

Definition at line 52 of file Distance.cppm.


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