pub struct PvTiffStack { /* private fields */ }Expand description
A stack of TIFF images
Note that this is not a generic TIFF stack reader but rather one saved by Micromanager using a Photometrics camera.
Implementations§
Trait Implementations§
Source§impl FrameDataSource for PvTiffStack
impl FrameDataSource for PvTiffStack
Source§fn decode_order_iter<'a>(
&'a mut self,
) -> Box<dyn Iterator<Item = Result<FrameData>> + 'a>
fn decode_order_iter<'a>( &'a mut self, ) -> Box<dyn Iterator<Item = Result<FrameData>> + 'a>
Get an iterator over all frames in decode order (the order samples
are stored in the stream). Read more
Source§fn skip_n_frames(&mut self, n_frames: usize) -> Result<()>
fn skip_n_frames(&mut self, n_frames: usize) -> Result<()>
Set source to skip the first N frames. Read more
Source§fn frame0_time(&self) -> Option<DateTime<FixedOffset>>
fn frame0_time(&self) -> Option<DateTime<FixedOffset>>
Get the timestamp of the first frame. Read more
Source§fn estimate_luminance_range(&mut self) -> Result<(u16, u16)>
fn estimate_luminance_range(&mut self) -> Result<(u16, u16)>
Scan over the input images and estimate the luminance range Read more
Source§fn timestamp_source(&self) -> &str
fn timestamp_source(&self) -> &str
A string describing the source of the timestamp data
Source§fn has_timestamps(&self) -> bool
fn has_timestamps(&self) -> bool
Whether timestamps are available. Read more
fn camera_name(&self) -> Option<&str>
fn gamma(&self) -> Option<f32>
Source§fn srt_truncation(&self) -> Option<SrtTruncation>
fn srt_truncation(&self) -> Option<SrtTruncation>
Set when an SRT-file timestamp source ran out of usable stanzas
before covering every frame in the container, in which case the
source was truncated to the last complete group of pictures a stanza
is available for every frame of.
None for sources not using an SRT
file, or when the SRT covered every frame.Auto Trait Implementations§
impl Freeze for PvTiffStack
impl RefUnwindSafe for PvTiffStack
impl Send for PvTiffStack
impl Sync for PvTiffStack
impl Unpin for PvTiffStack
impl UnsafeUnpin for PvTiffStack
impl UnwindSafe for PvTiffStack
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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