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 Type
    Method
    Description
    getAllTracks(@Nullable List<Point2D_F64> storage)
    Deprecated.
    int
    Returns the total number of tracks
    long
    getTrackId(int index)
    Used to get the track ID of an active Track
    void
    getTrackPixel(int index, Point2D_F64 pixel)
    Gets the observed coordinate of a feature in the input image.
    boolean
    isTrackInlier(int index)
    True if the specified track is an inlier used in motion estimation
    boolean
    isTrackNew(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

      void getTrackPixel(int index, Point2D_F64 pixel)
      Gets the observed coordinate of a feature in the input image.
      Parameters:
      index - Which point in the list
      pixel - Where the coordinate will be writen to.
    • getAllTracks

      @Deprecated List<Point2D_F64> getAllTracks(@Nullable @Nullable List<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