pub enum LandmarkInit {
StereoSingleFrame,
MultiViewDlt,
}Expand description
Landmark initialisation strategy for refine_stereo_vo_with_ba. See
StereoVoBaConfig::landmark_init.
Variants§
StereoSingleFrame
Triangulate the landmark from the first stereo observation in the track, transformed to world via that frame’s initial pose. Default for backwards-compatibility.
MultiViewDlt
Linear DLT over ALL stereo observations in the track (3 equations
per frame: u_l, v_l, u_r). Solved via SVD on a (3n)×4
matrix.
Trait Implementations§
Source§impl Clone for LandmarkInit
impl Clone for LandmarkInit
Source§fn clone(&self) -> LandmarkInit
fn clone(&self) -> LandmarkInit
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 LandmarkInit
Source§impl Debug for LandmarkInit
impl Debug for LandmarkInit
Source§impl Default for LandmarkInit
impl Default for LandmarkInit
Source§fn default() -> LandmarkInit
fn default() -> LandmarkInit
Returns the “default value” for a type. Read more
impl Eq for LandmarkInit
Source§impl PartialEq for LandmarkInit
impl PartialEq for LandmarkInit
impl StructuralPartialEq for LandmarkInit
Auto Trait Implementations§
impl Forget for LandmarkInit
impl Freeze for LandmarkInit
impl Move for LandmarkInit
impl RefUnwindSafe for LandmarkInit
impl Send for LandmarkInit
impl Sync for LandmarkInit
impl Unpin for LandmarkInit
impl UnsafeUnpin for LandmarkInit
impl UnwindSafe for LandmarkInit
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.