pub struct PairwiseLoopClosureScannerConfig {
pub min_keyframe_id_gap: u64,
pub min_matches: usize,
}Expand description
Configuration for scan_pairwise_loop_closures.
Fields§
§min_keyframe_id_gap: u64Minimum frame-id gap between two keyframes for a pair to be eligible.
Pairs (i, j) with keyframes[j].frame_id - keyframes[i].frame_id < min_keyframe_id_gap are skipped, so adjacent keyframes (which share
most of their tracks) are never confused for loops.
min_matches: usizeMinimum number of descriptor matches a pair needs before its correspondences are even handed to the verifier. Cheap reject for keyframes whose appearance has no overlap.
Trait Implementations§
Source§impl Clone for PairwiseLoopClosureScannerConfig
impl Clone for PairwiseLoopClosureScannerConfig
Source§fn clone(&self) -> PairwiseLoopClosureScannerConfig
fn clone(&self) -> PairwiseLoopClosureScannerConfig
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 PairwiseLoopClosureScannerConfig
Source§impl Default for PairwiseLoopClosureScannerConfig
impl Default for PairwiseLoopClosureScannerConfig
Source§fn default() -> PairwiseLoopClosureScannerConfig
fn default() -> PairwiseLoopClosureScannerConfig
Returns the “default value” for a type. Read more
impl StructuralPartialEq for PairwiseLoopClosureScannerConfig
Auto Trait Implementations§
impl Forget for PairwiseLoopClosureScannerConfig
impl Freeze for PairwiseLoopClosureScannerConfig
impl Move for PairwiseLoopClosureScannerConfig
impl RefUnwindSafe for PairwiseLoopClosureScannerConfig
impl Send for PairwiseLoopClosureScannerConfig
impl Sync for PairwiseLoopClosureScannerConfig
impl Unpin for PairwiseLoopClosureScannerConfig
impl UnsafeUnpin for PairwiseLoopClosureScannerConfig
impl UnwindSafe for PairwiseLoopClosureScannerConfig
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.