pub struct ExposureModel {
pub reconstruct: [[f64; 3]; 3],
pub basis: [[f64; 71]; 3],
pub film: [[f64; 71]; 3],
pub reference: [f64; 3],
}Expand description
The exposure: camera triple to per-layer log exposure.
Fields§
§reconstruct: [[f64; 3]; 3]Row-major inverse of the system PolynomialUpsampler::system builds.
Coefficients are reconstruct · rgb.
The zero matrix and the CPU’s own fallback agree: when the system is singular the upsampler returns zero coefficients, and a zero matrix is exactly that for every input.
basis: [[f64; 71]; 3]The three basis terms, one row each.
film: [[f64; 71]; 3]The film’s layer sensitivities, one row each.
reference: [f64; 3]The film’s response to a reconstructed 18 % grey, per layer.
Trait Implementations§
Source§impl Clone for ExposureModel
impl Clone for ExposureModel
Source§impl Debug for ExposureModel
impl Debug for ExposureModel
Source§impl PartialEq for ExposureModel
impl PartialEq for ExposureModel
impl StructuralPartialEq for ExposureModel
Auto Trait Implementations§
impl Forget for ExposureModel
impl Freeze for ExposureModel
impl Move for ExposureModel
impl RefUnwindSafe for ExposureModel
impl Send for ExposureModel
impl Sync for ExposureModel
impl Unpin for ExposureModel
impl UnsafeUnpin for ExposureModel
impl UnwindSafe for ExposureModel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more