pub struct FilmCurve {
pub film: String,
pub minutes: f64,
pub temp_c: f64,
pub gamma: [f64; 3],
pub d_min: [f64; 3],
pub d_max: [f64; 3],
pub log_e: Vec<f64>,
pub density: Vec<[f64; 3]>,
}Expand description
A film’s characteristic curve, sampled over its exposure range.
This is the developed curve itself, not the nine-patch wedge the densitometer reads: a panel that drew the wedge would show a straight line where the film has a toe and a shoulder. Every development of a stock is sampled over the same range, so a strip’s curves overlay point for point.
Fields§
§film: StringThe film.
minutes: f64The development.
temp_c: f64The developer’s temperature.
gamma: [f64; 3]Contrast per layer.
d_min: [f64; 3]Density floor per layer.
d_max: [f64; 3]Density ceiling per layer.
log_e: Vec<f64>The log10 exposures the curve was sampled at.
density: Vec<[f64; 3]>The developed density per layer at each sample.
Trait Implementations§
Auto Trait Implementations§
impl Forget for FilmCurve
impl Freeze for FilmCurve
impl Move for FilmCurve
impl RefUnwindSafe for FilmCurve
impl Send for FilmCurve
impl Sync for FilmCurve
impl Unpin for FilmCurve
impl UnsafeUnpin for FilmCurve
impl UnwindSafe for FilmCurve
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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