pub struct RelativeDltTriangulator { /* private fields */ }Expand description
Based on algorithm 12 from “Multiple View Geometry in Computer Vision, Second Edition”
Implementations§
Source§impl RelativeDltTriangulator
impl RelativeDltTriangulator
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a RelativeDltTriangulator with default values.
Same as calling Default::default.
Sourcepub fn epsilon(self, epsilon: f64) -> Self
pub fn epsilon(self, epsilon: f64) -> Self
Set the epsilon used in the SVD solver.
Default is 1e-9.
Sourcepub fn max_iterations(self, max_iterations: usize) -> Self
pub fn max_iterations(self, max_iterations: usize) -> Self
Set the maximum number of iterations for the SVD solver.
Default is 100.
Trait Implementations§
Source§impl Clone for RelativeDltTriangulator
impl Clone for RelativeDltTriangulator
Source§fn clone(&self) -> RelativeDltTriangulator
fn clone(&self) -> RelativeDltTriangulator
Returns a duplicate of the value. Read more
1.0.0 · 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 RelativeDltTriangulator
impl Debug for RelativeDltTriangulator
Source§impl Default for RelativeDltTriangulator
impl Default for RelativeDltTriangulator
Source§impl TriangulatorRelative for RelativeDltTriangulator
impl TriangulatorRelative for RelativeDltTriangulator
fn triangulate_relative<A: Bearing, B: Bearing>( &self, relative_pose: CameraToCamera, a: A, b: B, ) -> Option<CameraPoint>
impl Copy for RelativeDltTriangulator
Auto Trait Implementations§
impl Freeze for RelativeDltTriangulator
impl RefUnwindSafe for RelativeDltTriangulator
impl Send for RelativeDltTriangulator
impl Sync for RelativeDltTriangulator
impl Unpin for RelativeDltTriangulator
impl UnwindSafe for RelativeDltTriangulator
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<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.