pub struct ProjectionGuidedTrackingConfig {
pub search_radius_px: f64,
pub widen_factor: f64,
pub max_widen_retries: u32,
pub max_query_landmark_distance_ratio: Option<f32>,
pub local_map_refinement: bool,
pub refinement_search_radius_px: f64,
pub refinement_iterations: u32,
pub refinement_radius_shrink_factor: f64,
pub refinement_reassign_correspondences: bool,
pub refinement_min_inlier_pair_retention_ratio: f64,
pub refinement_max_pose_translation_correction_m: Option<f64>,
pub refinement_max_pose_rotation_correction_rad: Option<f64>,
}Fields§
§search_radius_px: f64Initial per-landmark projection-window radius, in pixels.
widen_factor: f64Multiplier applied to search_radius_px on each widen-retry attempt
after a stage-1 projection attempt fails the pose-estimation quality
gate.
max_widen_retries: u32Maximum number of widen-retry attempts after the initial one. Total
projection attempts per frame is 1 + max_widen_retries; if all of
them fail, the tracker falls back to the appearance-global path.
max_query_landmark_distance_ratio: Option<f32>Optional reverse ambiguity ratio across landmarks competing for the
same query keypoint. Some(r) requires the best descriptor distance
to be strictly below r * second_best; None preserves deterministic
first-wins assignment for overlapping projection windows.
local_map_refinement: boolWhen true, after ANY successful pose estimate (projection path or
appearance-global fallback), project the covisibility local map with
the estimated pose and re-optimize over the union of harvested and
existing inlier correspondences. Requires covisibility_local_map
to also be configured (the local-map landmark set the brief and
build_covisibility_local_map_store compute); otherwise this stage
is a no-op since there is no local-map landmark set to project.
refinement_search_radius_px: f64Per-landmark projection-window radius, in pixels, used by the
local-map refinement stage. Independent of search_radius_px since
refinement starts from an already-estimated (not merely predicted)
pose and can afford a tighter window.
refinement_iterations: u32Number of alternating correspondence-rebuild / pose-update rounds. One preserves the original single-pass behavior.
refinement_radius_shrink_factor: f64Multiplier applied to the projection radius after each refinement
round. Values in (0, 1] progressively tighten geometric support.
refinement_reassign_correspondences: boolRebuild each round from fresh projected correspondences, allowing a query keypoint to change its landmark assignment. When false, retain the conservative legacy union-with-existing-inliers behavior.
refinement_min_inlier_pair_retention_ratio: f64Minimum fraction of the current inlier query/landmark pairs that must survive a revised round. Zero disables the factor-graph edge-retention gate; values near one permit only bounded correspondence revisions.
refinement_max_pose_translation_correction_m: Option<f64>Optional trust-region bound on camera-centre correction per accepted refinement round.
refinement_max_pose_rotation_correction_rad: Option<f64>Optional trust-region bound on rotation correction per accepted round.
Trait Implementations§
Source§impl Clone for ProjectionGuidedTrackingConfig
impl Clone for ProjectionGuidedTrackingConfig
Source§fn clone(&self) -> ProjectionGuidedTrackingConfig
fn clone(&self) -> ProjectionGuidedTrackingConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ProjectionGuidedTrackingConfig
Source§impl Default for ProjectionGuidedTrackingConfig
impl Default for ProjectionGuidedTrackingConfig
Source§fn default() -> ProjectionGuidedTrackingConfig
fn default() -> ProjectionGuidedTrackingConfig
impl StructuralPartialEq for ProjectionGuidedTrackingConfig
Auto Trait Implementations§
impl Forget for ProjectionGuidedTrackingConfig
impl Freeze for ProjectionGuidedTrackingConfig
impl Move for ProjectionGuidedTrackingConfig
impl RefUnwindSafe for ProjectionGuidedTrackingConfig
impl Send for ProjectionGuidedTrackingConfig
impl Sync for ProjectionGuidedTrackingConfig
impl Unpin for ProjectionGuidedTrackingConfig
impl UnsafeUnpin for ProjectionGuidedTrackingConfig
impl UnwindSafe for ProjectionGuidedTrackingConfig
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
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> ⓘ
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> ⓘ
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>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.