Defined in File track-manager.h
class aslam::SimpleTrackManager : public aslam::TrackManager¶
Track manager simply writing track ids into the given frames for the given matches.
SimpleTrackManager() = default¶
inline virtual ~SimpleTrackManager()¶
virtual void applyMatchesToFrames(const FrameToFrameMatchesWithScore &matches, VisualFrame *apple_frame, VisualFrame *banana_frame)¶
Writes track ids into the given frames for the given matches.
If for a match, both track ids are < 0, a new track id is generated and applied. If any of the two track ids for a match is >= 0 the other one is either expected to be identical (in which case no change is applied) or < 0, in which case the valid id (>=0) is copied over. Matches are expected to be exclusive.
- SimpleTrackManager() = default¶