pub struct MapMergeConfig {
pub gates: BinaryMatchGates,
pub min_inliers: usize,
pub ransac_iterations: usize,
pub reprojection_px: f64,
pub min_keyframes: usize,
pub agreement_m: f64,
pub agreement_yaw_deg: f64,
pub fuse_radius_m: f64,
pub fuse_max_hamming: u32,
pub threads: usize,
}Expand description
Settings of register_map and merge_maps.
Fields§
§gates: BinaryMatchGatesHamming gates of keyframe-to-map matching.
min_inliers: usizeInliers a keyframe needs to count as localized in the base map.
ransac_iterations: usize§reprojection_px: f64§min_keyframes: usizeLocalized keyframes that must agree on the transform.
agreement_m: f64Position tolerance, in metres at the keyframes’ camera centres, for localized keyframes to agree with a transform.
agreement_yaw_deg: f64Yaw tolerance, in degrees, for localized keyframes to agree with a transform.
fuse_radius_m: f64A landmark of the other map fuses into a base landmark within this distance (after the transform)…
fuse_max_hamming: u32…whose descriptor differs from its own by at most this many bits.
threads: usizeThreads localizing the other map’s keyframes.
Trait Implementations§
Source§impl Clone for MapMergeConfig
impl Clone for MapMergeConfig
Source§impl Debug for MapMergeConfig
impl Debug for MapMergeConfig
Source§impl Default for MapMergeConfig
impl Default for MapMergeConfig
Source§impl PartialEq for MapMergeConfig
impl PartialEq for MapMergeConfig
impl StructuralPartialEq for MapMergeConfig
Auto Trait Implementations§
impl Forget for MapMergeConfig
impl Freeze for MapMergeConfig
impl Move for MapMergeConfig
impl RefUnwindSafe for MapMergeConfig
impl Send for MapMergeConfig
impl Sync for MapMergeConfig
impl Unpin for MapMergeConfig
impl UnsafeUnpin for MapMergeConfig
impl UnwindSafe for MapMergeConfig
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,
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.