Package boofcv.alg.sfm.d3.structure
Class SelectTracksInFrameForBundleAdjustment
- java.lang.Object
-
- boofcv.alg.sfm.d3.structure.SelectTracksInFrameForBundleAdjustment
-
public class SelectTracksInFrameForBundleAdjustment extends java.lang.ObjectAttempts to ensure spatial diversity within an image by forcing a more uniform distribution of features per-area.
-
-
Field Summary
Fields Modifier and Type Field Description boofcv.struct.ConfigGridUniformconfigUniformConfiguration for uniformally selecting a gridintmaxFeaturesPerFramemaximum number of features per frame that can be usedintminTrackObservationsThe minimum number of observations to process
-
Constructor Summary
Constructors Constructor Description SelectTracksInFrameForBundleAdjustment(long randSeed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidselectTracks(VisOdomBundleAdjustment<?> sba, java.util.List<VisOdomBundleAdjustment.BTrack> selected)Selects tracks to include in bundle adjustmentprotected voidselectTracksInFrame(VisOdomBundleAdjustment.BFrame frame, java.util.List<VisOdomBundleAdjustment.BTrack> selected)Select tracks inside a single frame.
-
-
-
Field Detail
-
configUniform
public final boofcv.struct.ConfigGridUniform configUniform
Configuration for uniformally selecting a grid
-
maxFeaturesPerFrame
public int maxFeaturesPerFrame
maximum number of features per frame that can be used
-
minTrackObservations
public int minTrackObservations
The minimum number of observations to process
-
-
Method Detail
-
selectTracks
public void selectTracks(VisOdomBundleAdjustment<?> sba, java.util.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, java.util.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
-
-