pub enum TrackSource {
UnionFind,
CorrespondenceGraph,
}Expand description
Which algorithm builds step 1’s feature tracks from pairwise — the M2
port in docs/colmap_port_plan.md (“Persistent CorrespondenceGraph”).
Self::UnionFind is the original ad hoc union-find
([build_tracks]), kept as the default (see the M2 results section in
that doc for the ETH3D A/B that motivated staying opt-in rather than
flipping the default). Self::CorrespondenceGraph instead builds the
same tracks by routing through
visloc_vision::two_view::correspondence_graph::CorrespondenceGraph
([build_tracks_via_graph]) — COLMAP’s persistent view-graph object,
which also exposes NumObservationsForImage/NumCorrespondencesForImage/
ExtractTransitiveCorrespondences-style queries the union-find has no way
to answer, for future milestones (M4’s transitive pairing, in particular).
Both paths are proven to produce byte-identical tracks on this crate’s
existing fixtures (see the graph_tracks_match_union_find_tracks_* tests).
Variants§
UnionFind
The original ad hoc union-find over (image, keypoint) nodes.
CorrespondenceGraph
COLMAP-style persistent CorrespondenceGraph (M2 port).
Trait Implementations§
Source§impl Clone for TrackSource
impl Clone for TrackSource
Source§fn clone(&self) -> TrackSource
fn clone(&self) -> TrackSource
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 TrackSource
Source§impl Debug for TrackSource
impl Debug for TrackSource
Source§impl Default for TrackSource
impl Default for TrackSource
Source§fn default() -> TrackSource
fn default() -> TrackSource
impl Eq for TrackSource
Source§impl PartialEq for TrackSource
impl PartialEq for TrackSource
impl StructuralPartialEq for TrackSource
Auto Trait Implementations§
impl Forget for TrackSource
impl Freeze for TrackSource
impl Move for TrackSource
impl RefUnwindSafe for TrackSource
impl Send for TrackSource
impl Sync for TrackSource
impl Unpin for TrackSource
impl UnsafeUnpin for TrackSource
impl UnwindSafe for TrackSource
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.