Trait GammaComponent
dssim_core
pub trait GammaComponent { fn max_value() -> usize; fn to_linear(&self, lut: &[f32]) -> f32; }
See GammaPixel & ToRGBAPLU
GammaPixel
ToRGBAPLU
fn max_value() -> usize
fn to_linear(&self, lut: &[f32]) -> f32
impl GammaComponent for u8
impl GammaComponent for u16