Trait palette::chromatic_adaptation::TransformMatrix[][src]

pub trait TransformMatrix<Swp, Dwp, T> where
    T: FloatComponent,
    Swp: WhitePoint,
    Dwp: WhitePoint
{ fn get_cone_response(&self) -> ConeResponseMatrices<T>; fn generate_transform_matrix(&self) -> Mat3<T> { ... } }

Generates a conversion matrix to convert the Xyz tristimulus values from one illuminant to another (Swp -> Dwp)

Required methods

fn get_cone_response(&self) -> ConeResponseMatrices<T>[src]

Get the cone response functions for the chromatic adaptation method

Loading content...

Provided methods

fn generate_transform_matrix(&self) -> Mat3<T>[src]

Generates a 3x3 transformation matrix to convert color from one reference white point to another with the given cone_response

Loading content...

Implementors

impl<Swp, Dwp, T> TransformMatrix<Swp, Dwp, T> for Method where
    T: FloatComponent,
    Swp: WhitePoint,
    Dwp: WhitePoint
[src]

Loading content...