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 AccessPointTracksProvides access to the location of point tracks. Location of tracks are provided in terms of pixel coordinates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.List<georegression.struct.point.Point2D_F64>getAllTracks(java.util.List<georegression.struct.point.Point2D_F64> storage)Deprecated.intgetTotalTracks()Returns the total number of trackslonggetTrackId(int index)Used to get the track ID of an active TrackvoidgetTrackPixel(int index, georegression.struct.point.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 Detail
-
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
void getTrackPixel(int index, georegression.struct.point.Point2D_F64 pixel)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 java.util.List<georegression.struct.point.Point2D_F64> getAllTracks(@Nullable java.util.List<georegression.struct.point.Point2D_F64> storage)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
-
-