pub enum TrackStatus {
Tracked,
OutOfBounds,
Diverged,
LowTexture,
FbInconsistent,
}Expand description
Why a feature point ended up where it did after tracking.
See TrackResult for the coordinate convention.
Variants§
Tracked
The iteration converged inside the image; the position is trustworthy.
OutOfBounds
The search window left the image (in the previous or the next frame).
Diverged
The iteration hit max_iterations without converging, or a step
exploded (non-finite or larger than the window).
LowTexture
The minimum eigenvalue of the spatial gradient matrix fell below the configured threshold, i.e. the window is too flat to track reliably.
FbInconsistent
The point was tracked forward, but re-tracking it back to the previous
frame did not return close enough to the original position. Only
produced by calc_optical_flow_fb. A strong occlusion/outlier signal.
Trait Implementations§
Source§impl Clone for TrackStatus
impl Clone for TrackStatus
Source§fn clone(&self) -> TrackStatus
fn clone(&self) -> TrackStatus
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 moreimpl Copy for TrackStatus
Source§impl Debug for TrackStatus
impl Debug for TrackStatus
impl Eq for TrackStatus
Source§impl PartialEq for TrackStatus
impl PartialEq for TrackStatus
Source§fn eq(&self, other: &TrackStatus) -> bool
fn eq(&self, other: &TrackStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TrackStatus
Auto Trait Implementations§
impl Freeze for TrackStatus
impl RefUnwindSafe for TrackStatus
impl Send for TrackStatus
impl Sync for TrackStatus
impl Unpin for TrackStatus
impl UnsafeUnpin for TrackStatus
impl UnwindSafe for TrackStatus
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