pub struct FrameMetadata {
pub frame_index: usize,
pub illumination_index: Option<usize>,
pub original_frame_index: Option<usize>,
pub original_illumination_index: Option<usize>,
pub exposure_time: f64,
pub weight: f64,
pub label: Option<String>,
}Expand description
Acquisition metadata associated with one measurement frame.
Fields§
§frame_index: usizeZero-based index in the current measurement stack.
illumination_index: Option<usize>Optional individual illumination-source index; None can denote coded illumination.
original_frame_index: Option<usize>Frame index in the original acquisition before subsetting or reordering.
original_illumination_index: Option<usize>Illumination index in the original acquisition before subsetting.
exposure_time: f64Positive exposure time in caller-defined units; ratios are used for normalization.
weight: f64Non-negative reconstruction weight; zero excludes the frame from the objective.
label: Option<String>Optional human-readable acquisition label.
Implementations§
Trait Implementations§
Source§impl Clone for FrameMetadata
impl Clone for FrameMetadata
Source§fn clone(&self) -> FrameMetadata
fn clone(&self) -> FrameMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameMetadata
impl Debug for FrameMetadata
Source§impl<'de> Deserialize<'de> for FrameMetadata
impl<'de> Deserialize<'de> for FrameMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FrameMetadata
impl RefUnwindSafe for FrameMetadata
impl Send for FrameMetadata
impl Sync for FrameMetadata
impl Unpin for FrameMetadata
impl UnsafeUnpin for FrameMetadata
impl UnwindSafe for FrameMetadata
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