Trait palette::chromatic_adaptation::TransformMatrix
source · pub trait TransformMatrix<T>{
// Required method
fn get_cone_response(&self) -> ConeResponseMatrices<T>;
// Provided method
fn generate_transform_matrix(
&self,
source_wp: Xyz<Any, T>,
destination_wp: Xyz<Any, T>,
) -> Mat3<T> { ... }
}
Expand description
Generates a conversion matrix to convert the Xyz tristimulus values from
one illuminant to another (source_wp
to destination_wp
)
Required Methods§
sourcefn get_cone_response(&self) -> ConeResponseMatrices<T>
fn get_cone_response(&self) -> ConeResponseMatrices<T>
Get the cone response functions for the chromatic adaptation method