pub struct RobustTracks { /* private fields */ }Expand description
One target coordinate, validity decision, and round-trip error per source point.
Implementations§
Source§impl RobustTracks
impl RobustTracks
Sourcepub fn next_points(&self) -> &[Vec2<f64>]
pub fn next_points(&self) -> &[Vec2<f64>]
Returns one next-frame coordinate per source point.
Sourcepub fn status(&self) -> &[bool]
pub fn status(&self) -> &[bool]
Returns the combined forward, backward, and threshold decision.
Sourcepub fn forward_backward_errors(&self) -> &[f64]
pub fn forward_backward_errors(&self) -> &[f64]
Returns round-trip pixel error, or infinity when either direction failed.
Sourcepub fn accepted_count(&self) -> usize
pub fn accepted_count(&self) -> usize
Returns the accepted track count.
Trait Implementations§
Source§impl Clone for RobustTracks
impl Clone for RobustTracks
Source§fn clone(&self) -> RobustTracks
fn clone(&self) -> RobustTracks
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 RobustTracks
impl Debug for RobustTracks
Source§impl PartialEq for RobustTracks
impl PartialEq for RobustTracks
Source§fn eq(&self, other: &RobustTracks) -> bool
fn eq(&self, other: &RobustTracks) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RobustTracks
Auto Trait Implementations§
impl Freeze for RobustTracks
impl RefUnwindSafe for RobustTracks
impl Send for RobustTracks
impl Sync for RobustTracks
impl Unpin for RobustTracks
impl UnsafeUnpin for RobustTracks
impl UnwindSafe for RobustTracks
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