Class TrackManager

Inheritance Relationships

Derived Types

Class Documentation

class aslam::TrackManager

The Track manager assigns track ids to the given matches with different strategies.

Subclassed by aslam::SimpleTrackManager, aslam::UniformTrackManager

Public Functions

inline TrackManager()
inline virtual ~TrackManager()
virtual void applyMatchesToFrames(const FrameToFrameMatchesWithScore &matches_A_B, VisualFrame *apple_frame, VisualFrame *banana_frame) = 0

Writes track ids for a list of matches into two given frames.

Parameters
  • [in] matches_A_B: List of matches between the Apple and Banana frame.

  • [in] apple_frame: Pointer to the apple frame.

  • [in] banana_frame: Pointer to the banana frame.

Public Static Functions

static Eigen::VectorXi *createAndGetTrackIdChannel(VisualFrame *frame)

Returns a pointer to the track id channel.

If no track id channel is present for the given frame, a new track id channel will be created with num_keypoints many track ids, all set to to -1.

Return

Pointer to the track id channel.

Parameters
  • [in] frame: Pointer to the visual frame.

static inline void resetIdProvider()

Protected Static Attributes

static ThreadSafeIdProvider<size_t> track_id_provider_