Package boofcv.alg.sfm.d3.structure
Interface VisOdomKeyFrameManager
-
- All Superinterfaces:
org.ddogleg.struct.VerbosePrint
- All Known Implementing Classes:
MaxGeoKeyFrameManager,TickTockKeyFrameManager
public interface VisOdomKeyFrameManager extends org.ddogleg.struct.VerbosePrintDecides when new key frames should be created and when an old key frame should be removed
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleSpawnedTracks(boofcv.abst.tracker.PointTracker<?> tracker, VisOdomBundleAdjustment.BCamera camera)After the current frame becomes a keyframe new tracks are spawned from it.voidinitialize(org.ddogleg.struct.FastAccess<VisOdomBundleAdjustment.BCamera> bundleCameras)Resets the manager into it's initial state.org.ddogleg.struct.GrowQueue_I32selectFramesToDiscard(boofcv.abst.tracker.PointTracker<?> tracker, int limit, int newFrames, VisOdomBundleAdjustment<?> sba)Selects frames to discard from the scene graph.
-
-
-
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 trackerlimit- Maximum number of allowed key framesnewFrames- Number of new frames addedsba- 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
-
-