Package boofcv.alg.sfm.d3.structure
Class SelectTracksInFrameForBundleAdjustment
java.lang.Object
boofcv.alg.sfm.d3.structure.SelectTracksInFrameForBundleAdjustment
Attempts to ensure spatial diversity within an image by forcing a more uniform distribution of features per-area.
-
Field Summary
Modifier and TypeFieldDescriptionfinal ConfigGridUniform
Configuration for uniformally selecting a gridint
maximum number of features per frame that can be usedint
The minimum number of observations to process -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
selectTracks
(VisOdomBundleAdjustment<?> sba, List<VisOdomBundleAdjustment.BTrack> selected) Selects tracks to include in bundle adjustmentprotected void
selectTracksInFrame
(VisOdomBundleAdjustment.BFrame frame, List<VisOdomBundleAdjustment.BTrack> selected) Select tracks inside a single frame.
-
Field Details
-
configUniform
Configuration for uniformally selecting a grid -
maxFeaturesPerFrame
public int maxFeaturesPerFramemaximum number of features per frame that can be used -
minTrackObservations
public int minTrackObservationsThe minimum number of observations to process
-
-
Constructor Details
-
SelectTracksInFrameForBundleAdjustment
public SelectTracksInFrameForBundleAdjustment(long randSeed)
-
-
Method Details
-
selectTracks
public void selectTracks(VisOdomBundleAdjustment<?> sba, List<VisOdomBundleAdjustment.BTrack> selected) Selects tracks to include in bundle adjustment- Parameters:
sba
- The scene graphselected
- (Output) list of selected tracks
-
selectTracksInFrame
protected void selectTracksInFrame(VisOdomBundleAdjustment.BFrame frame, List<VisOdomBundleAdjustment.BTrack> selected) Select tracks inside a single frame. All tracks which have previously been selected are automatically selected again and count towards the max per frame
-