Antkeeper  0.0.1
Namespaces
xyz.hpp File Reference
#include <engine/math/vector.hpp>

Go to the source code of this file.

Namespaces

 color
 Color science.
 

Functions

CIE XYZ color space
template<class T >
constexpr T color::xyz_to_luminance (const math::vec3< T > &x) noexcept
 Returns the luminance of a CIE XYZ color. More...
 
template<class T >
constexpr math::vec3< T > color::xyz_to_xyy (const math::vec3< T > &x) noexcept
 Transforms a CIE XYZ color into the CIE xyY color space. More...
 
template<class T >
color::xyz_match_x (T lambda)
 CIE 1931 standard observer color matching function for the X tristimulus value. More...
 
template<class T >
color::xyz_match_y (T lambda)
 CIE 1931 standard observer color matching function for the Y tristimulus value. More...
 
template<class T >
color::xyz_match_z (T lambda)
 CIE 1931 standard observer color matching function for the Z tristimulus value. More...
 
template<class T >
math::vec3< T > color::xyz_match (T lambda)
 Fitted piecewise gaussian approximation to the CIE 1931 standard observer color matching function. More...