pub struct Motion {
pub tx: f64,
pub ty: f64,
pub angle: f64,
pub scale: f64,
pub confidence: f64,
}Expand description
Frame-to-frame camera motion: the similarity taking pixel positions in frame k to where the
same content was in frame k - 1, about the frame centre (geom::similarity parameters).
Fields§
§tx: f64§ty: f64§angle: f64Radians.
scale: f64§confidence: f64Fraction of usable flow vectors that agreed with the fit (0 when the fit failed and this is the identity).
Implementations§
Trait Implementations§
impl Copy for Motion
impl StructuralPartialEq for Motion
Auto Trait Implementations§
impl Forget for Motion
impl Freeze for Motion
impl RefUnwindSafe for Motion
impl Send for Motion
impl Sync for Motion
impl Unpin for Motion
impl UnsafeUnpin for Motion
impl UnwindSafe for Motion
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