Package boofcv.alg.sfm.d3.structure
Class VisOdomBundleAdjustment.BTrack
java.lang.Object
boofcv.alg.sfm.d3.structure.VisOdomBundleAdjustment.BTrack
- Direct Known Subclasses:
VisOdomDualTrackPnP.TrackInfo
,VisOdomMonoDepthPnP.Track
- Enclosing class:
- VisOdomBundleAdjustment<T extends VisOdomBundleAdjustment.BTrack>
-
Field Summary
Modifier and TypeFieldDescriptionboolean
if true then the track has been an inlier at least once and should be considered for optimizationlong
boolean
true if it was selected for inclusion in the optimization@Nullable PointTrack
Reference to the a track in the image based tracker if null that means the track is no longer being tracked by the trackerfinal Point4D_F64
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable VisOdomBundleAdjustment.BObservation
boolean
boolean
Removes the observations to the specified framevoid
reset()
-
Field Details
-
id
public long id -
visualTrack
Reference to the a track in the image based tracker if null that means the track is no longer being tracked by the tracker -
worldLoc
-
observations
-
hasBeenInlier
public boolean hasBeenInlierif true then the track has been an inlier at least once and should be considered for optimization -
selected
public boolean selectedtrue if it was selected for inclusion in the optimization
-
-
Constructor Details
-
BTrack
public BTrack()
-
-
Method Details
-
isObservedBy
-
findObservationBy
@Nullable public @Nullable VisOdomBundleAdjustment.BObservation findObservationBy(VisOdomBundleAdjustment.BFrame frame) -
reset
public void reset() -
removeRef
Removes the observations to the specified frame- Returns:
- true if a match was found and removed. False otherwise.
-