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

Go to the source code of this file.

Namespaces

 color
 Color science.
 

Chromatic adaption transforms (CAT)

template<class T >
constexpr math::mat3< T > color::bradford_cone_response
 Bradford cone response matrix. More...
 
template<class T >
constexpr math::mat3< T > color::von_kries_cone_response
 von Kries cone response matrix. More...
 
template<class T >
constexpr math::mat3< T > color::xyz_scaling_cone_response = math::mat3<T>::identity()
 XYZ scaling cone response matrix. More...
 
template<class T >
constexpr math::mat3< T > color::cat_matrix (const math::vec2< T > &w0, const math::vec2< T > &w1, const math::mat3< T > &cone_response=bradford_cone_response< T >) noexcept
 Constructs a chromatic adaptation transform (CAT) matrix. More...