pub struct ProPhoto;Expand description
ProPhoto ROMM RGB transfer function per ISO 22028-2:2013.
Power-law gamma 1.8 with a small linear segment near black. Used in camera raw and professional photo workflows.
Implementations§
Source§impl ProPhoto
impl ProPhoto
Sourcepub const LINEAR_SLOPE: f32 = 16.0
pub const LINEAR_SLOPE: f32 = 16.0
Slope of the linear toe.
Sourcepub const LINEAR_THRESHOLD: f32
pub const LINEAR_THRESHOLD: f32
Linear light value at which the curve transitions to the power-law segment.
Sourcepub const ENCODED_THRESHOLD: f32
pub const ENCODED_THRESHOLD: f32
Encoded signal value at which the curve transitions to the power-law segment.
Trait Implementations§
impl Copy for ProPhoto
impl Eq for ProPhoto
impl StructuralPartialEq for ProPhoto
impl TransferFunction 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