Interface VisOdomKeyFrameManager

  • All Superinterfaces:
    org.ddogleg.struct.VerbosePrint
    All Known Implementing Classes:
    MaxGeoKeyFrameManager, TickTockKeyFrameManager

    public interface VisOdomKeyFrameManager
    extends org.ddogleg.struct.VerbosePrint
    Decides when new key frames should be created and when an old key frame should be removed
    • Method Detail

      • initialize

        void initialize​(org.ddogleg.struct.FastAccess<VisOdomBundleAdjustment.BCamera> bundleCameras)
        Resets the manager into it's initial state. Specifies number of cameras and their shape.
      • selectFramesToDiscard

        org.ddogleg.struct.GrowQueue_I32 selectFramesToDiscard​(boofcv.abst.tracker.PointTracker<?> tracker,
                                                               int limit,
                                                               int newFrames,
                                                               VisOdomBundleAdjustment<?> sba)
        Selects frames to discard from the scene graph. The most recent frame(s) (highest index value) is assumed to be the current tracker frame.
        Parameters:
        tracker - Feature tracker
        limit - Maximum number of allowed key frames
        newFrames - Number of new frames added
        sba - scene graph
        Returns:
        Returns a list of frames to discard. They are in sequential order from least to greatest.
      • handleSpawnedTracks

        void handleSpawnedTracks​(boofcv.abst.tracker.PointTracker<?> tracker,
                                 VisOdomBundleAdjustment.BCamera camera)
        After the current frame becomes a keyframe new tracks are spawned from it. This passes in that new information