Package boofcv.abst.sfm
Interface AccessPointTracks
- All Known Subinterfaces:
AccessPointTracks3D
- All Known Implementing Classes:
MonoOverhead_to_MonocularPlaneVisualOdometry,MonoPlaneInfinity_to_MonocularPlaneVisualOdometry,PlToGrayMotion2D,VisOdomPixelDepthPnP_to_DepthVisualOdometry,WrapImageMotionPtkSmartRespawn,WrapVisOdomDualTrackPnP,WrapVisOdomMonoStereoDepthPnP,WrapVisOdomQuadPnP
public interface AccessPointTracks
Provides access to the location of point tracks. Location of tracks are provided in terms
of pixel coordinates.
-
Method Summary
Modifier and TypeMethodDescriptiongetAllTracks(@Nullable List<Point2D_F64> storage) Deprecated.intReturns the total number of trackslonggetTrackId(int index) Used to get the track ID of an active TrackvoidgetTrackPixel(int index, Point2D_F64 pixel) Gets the observed coordinate of a feature in the input image.booleanisTrackInlier(int index) True if the specified track is an inlier used in motion estimationbooleanisTrackNew(int index) True if the specified track was just spawned
-
Method Details
-
getTotalTracks
int getTotalTracks()Returns the total number of tracks -
getTrackId
long getTrackId(int index) Used to get the track ID of an active Track- Parameters:
index- which track- Returns:
- The track's ID
-
getTrackPixel
Gets the observed coordinate of a feature in the input image.- Parameters:
index- Which point in the listpixel- Where the coordinate will be writen to.
-
getAllTracks
Deprecated.All the points being actively tracked in pixel coordinates.- Returns:
- all active tracks in pixel coordinates
-
isTrackInlier
boolean isTrackInlier(int index) True if the specified track is an inlier used in motion estimation- Parameters:
index- The index in all- Returns:
- if it is an inlier or not
-
isTrackNew
boolean isTrackNew(int index) True if the specified track was just spawned- Parameters:
index- The index in all- Returns:
- if it is new or not
-