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

Go to the source code of this file.

Namespaces

 color
 Color science.
 

ACES color spaces

template<class T >
constexpr math::vec2< T > color::aces_white_point = {T{0.32168}, T{0.33767}}
 CIE xy chromaticity coordinates of the ACES white point (~D60). More...
 
template<class T >
constexpr math::mat3< T > color::aces_ap1_rrt_sat = aces_adjust_saturation(T{0.96}, aces_ap1<T>.to_y)
 ACES AP1 RRT saturation adjustment matrix. More...
 
template<class T >
constexpr math::mat3< T > color::aces_ap1_odt_sat = aces_adjust_saturation(T{0.93}, aces_ap1<T>.to_y)
 ACES AP1 ODT saturation adjustment matrix. More...
 
template<class T >
constexpr rgb_color_space< T > color::aces_ap0 ({T{0.7347}, T{ 0.2653}}, {T{0.0000}, T{ 1.0000}}, {T{0.0001}, T{-0.0770}}, aces_white_point< T >, nullptr, nullptr)
 ACES AP0 color space. More...
 
template<class T >
constexpr rgb_color_space< T > color::aces_ap1 ({T{0.713}, T{0.293}}, {T{0.165}, T{0.830}}, {T{0.128}, T{0.044}}, aces_white_point< T >, nullptr, nullptr)
 ACES AP1 color space. More...
 
template<class T >
constexpr math::mat3< T > color::aces_adjust_saturation (T s, const math::vec3< T > &to_y) noexcept
 Constructs a saturation adjustment matrix. More...