pub struct ScanModel {
pub analytical: [[f64; 3]; 3],
pub clamped: bool,
pub dye: [[f64; 71]; 3],
pub illuminant: [f64; 71],
pub cmf: [[f64; 71]; 3],
pub matrix: [[f64; 3]; 3],
pub white_xyz: [f64; 3],
pub white_rgb: [f64; 3],
pub neutral: [[f64; 3]; 33],
pub neutral_max_density: f64,
pub base_density: f64,
}Expand description
The scan: print density to linear-light RGB.
Fields§
§analytical: [[f64; 3]; 3]Row-major inverse of the status-to-analytical unmixing.
clamped: boolWhether the CPU clamps the unmixed densities to zero.
dye: [[f64; 71]; 3]The paper’s image dyes.
illuminant: [f64; 71]The viewing illuminant.
cmf: [[f64; 71]; 3]The colour matching functions, one row per axis.
matrix: [[f64; 3]; 3]Row-major XYZ to linear sRGB matrix.
white_xyz: [f64; 3]XYZ of paper white.
white_rgb: [f64; 3]RGB of paper white.
neutral: [[f64; 3]; 33]RGB along the neutral axis, evenly spaced in density.
neutral_max_density: f64Density covered by neutral.
base_density: f64Base density of the unexposed paper.
Trait Implementations§
impl StructuralPartialEq for ScanModel
Auto Trait Implementations§
impl Forget for ScanModel
impl Freeze for ScanModel
impl Move for ScanModel
impl RefUnwindSafe for ScanModel
impl Send for ScanModel
impl Sync for ScanModel
impl Unpin for ScanModel
impl UnsafeUnpin for ScanModel
impl UnwindSafe for ScanModel
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