pub struct ProPhoto;Expand description
ProPhoto (ROMM RGB) primaries (D50). Roughly 13% of the gamut is imaginary.
Reference: ISO 22028-2:2013.
Trait Implementations§
Source§impl Primaries for ProPhoto
impl Primaries for ProPhoto
Source§const TO_XYZ_NATIVE: Mat3 = PRO_PHOTO_TO_XYZ
const TO_XYZ_NATIVE: Mat3 = PRO_PHOTO_TO_XYZ
Linear RGB to CIE XYZ under Self::Native.
Source§const FROM_XYZ_NATIVE: Mat3 = PRO_PHOTO_FROM_XYZ
const FROM_XYZ_NATIVE: Mat3 = PRO_PHOTO_FROM_XYZ
CIE XYZ under Self::Native to linear RGB.
Source§const LUMA_WEIGHTS: [f32; 3] = _
const LUMA_WEIGHTS: [f32; 3] = _
Luma coefficients [Kr, Kg, Kb] from the Y row of TO_XYZ_NATIVE.
impl Copy for ProPhoto
impl Eq for ProPhoto
impl StructuralPartialEq for ProPhoto
Auto Trait Implementations§
impl Freeze for ProPhoto
impl RefUnwindSafe for ProPhoto
impl Send for ProPhoto
impl Sync for ProPhoto
impl Unpin for ProPhoto
impl UnsafeUnpin for ProPhoto
impl UnwindSafe for ProPhoto
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more