Antkeeper
0.0.1
|
Go to the source code of this file.
Classes | |
struct | color::rgb_color_space< T > |
RGB color space. More... | |
Namespaces | |
color | |
Color science. | |
Functions | |
RGB color spaces | |
template<class T > | |
constexpr math::mat3< T > | color::rgb_to_xyz (const math::vec2< T > &r, const math::vec2< T > &g, const math::vec2< T > &b, const math::vec2< T > &w) |
Constructs a matrix which transforms an RGB color into a CIE XYZ color. More... | |
template<class T > | |
constexpr math::mat3< T > | color::rgb_to_rgb (const rgb_color_space< T > &s0, const rgb_color_space< T > &s1, const math::mat3< T > &cone_response=bradford_cone_response< T >) |
Constructs a matrix which transforms a color from one RGB color space to another RGB color space. More... | |