pub struct PrintModel {
pub analytical: [[f64; 3]; 3],
pub clamped: bool,
pub dye: [[f64; 71]; 3],
pub paper: [[f64; 71]; 3],
pub illuminant: [f64; 71],
pub mask: [f64; 71],
pub masking: [f64; 3],
pub masking_reference: f64,
pub filters: [f64; 3],
pub filter_bands: [[f64; 71]; 3],
pub reference: [f64; 3],
}Expand description
The enlarger and the paper: negative density to paper layer exposure.
Fields§
§analytical: [[f64; 3]; 3]Row-major inverse of the status-to-analytical unmixing.
clamped: boolWhether the CPU clamps the unmixed densities to zero.
It does whenever the system solved, and does not when it fell back to the identity. Carrying the flag is cheaper than pretending a fallback cannot happen.
dye: [[f64; 71]; 3]The negative’s dye absorption, peak-normalised, one row per dye.
paper: [[f64; 71]; 3]The paper’s layer sensitivities.
illuminant: [f64; 71]The enlarger’s light source.
mask: [f64; 71]The film’s minimum density — base, fog and the orange mask. All zeros
when the context has none, which is the same thing the CPU does when
base_density is None.
masking: [f64; 3]Fraction of the mask each layer destroys at masking_reference.
All zeros when masking is off: the surviving fraction is then one, so the mask is constant, which is what no masking means.
masking_reference: f64Density at which a layer has destroyed all the mask it can.
filters: [f64; 3]The enlarger’s filter pack, in colour-correction units.
filter_bands: [[f64; 71]; 3]The three filter absorption bands.
reference: [f64; 3]The grey balance at the reference density, per layer.
Trait Implementations§
Source§impl Clone for PrintModel
impl Clone for PrintModel
Source§impl Debug for PrintModel
impl Debug for PrintModel
Source§impl PartialEq for PrintModel
impl PartialEq for PrintModel
impl StructuralPartialEq for PrintModel
Auto Trait Implementations§
impl Forget for PrintModel
impl Freeze for PrintModel
impl Move for PrintModel
impl RefUnwindSafe for PrintModel
impl Send for PrintModel
impl Sync for PrintModel
impl Unpin for PrintModel
impl UnsafeUnpin for PrintModel
impl UnwindSafe for PrintModel
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
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> ⓘ
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> ⓘ
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