Documentation of 'boofcv.abst.feature.tracker.PointTrackerToTwoPass' Java class
PointTrackerToTwoPass
boofcv.abst.feature.tracker

Class PointTrackerToTwoPass<T extends ImageBase>

    • Constructor Detail

      • PointTrackerToTwoPass

        public PointTrackerToTwoPass(PointTracker<T> tracker)
    • Method Detail

      • reset

        public void reset()
        Description copied from interface: PointTracker
        Discard memory of all current and past tracks. Growing buffered might not be reset to their initial size by this method.
        Specified by:
        reset in interface PointTracker<T extends ImageBase>
      • dropAllTracks

        public void dropAllTracks()
        Description copied from interface: PointTracker
        Drops all feature to be dropped and will no longer be tracked. Tracks dropped using this function will not appear in the dropped list.
        Specified by:
        dropAllTracks in interface PointTracker<T extends ImageBase>
      • dropTrack

        public boolean dropTrack(PointTrack track)
        Description copied from interface: PointTracker
        Manually forces a track to be dropped. Tracks dropped using this function will not appear in the dropped list and their data is subject to being immediately recycled. New requests to all and active lists will not include the track after it has been dropped using this function. If request is made to drop a track that is not being tracked (in the internal all list), then the request is ignored.
        Specified by:
        dropTrack in interface PointTracker<T extends ImageBase>
        Parameters:
        track - The track which is to be dropped
        Returns:
        true if the request to drop the track was done or if it was ignored because the track wasn't being tracked
      • getAllTracks

        public java.util.List<PointTrack> getAllTracks(java.util.List<PointTrack> list)
        Description copied from interface: PointTracker
        Returns a list of all features that are currently being tracked
        Specified by:
        getAllTracks in interface PointTracker<T extends ImageBase>
        Parameters:
        list - Optional storage for the list of tracks. If null a new list will be declared internally.
        Returns:
        List of tracks.
      • getActiveTracks

        public java.util.List<PointTrack> getActiveTracks(java.util.List<PointTrack> list)
        Description copied from interface: PointTracker
        Returns a list of active tracks. An active track is defined as a track which was found in the most recently processed image.
        Specified by:
        getActiveTracks in interface PointTracker<T extends ImageBase>
        Parameters:
        list - Optional storage for the list of tracks. If null a new list will be declared internally.
        Returns:
        List of tracks.
      • getInactiveTracks

        public java.util.List<PointTrack> getInactiveTracks(java.util.List<PointTrack> list)
        Description copied from interface: PointTracker
        Returns a list of inactive tracks. A track is inactive if it is not associated with any features in the current image.
        Specified by:
        getInactiveTracks in interface PointTracker<T extends ImageBase>
        Parameters:
        list - Optional storage for the list of tracks. If null a new list will be declared internally.
        Returns:
        List of tracks.
      • getDroppedTracks

        public java.util.List<PointTrack> getDroppedTracks(java.util.List<PointTrack> list)
        Description copied from interface: PointTracker
        Returns a list of tracks dropped by the tracker during the most recent update. Tracks dropped by user request are not included in this list.
        Specified by:
        getDroppedTracks in interface PointTracker<T extends ImageBase>
        Parameters:
        list - Optional storage for the list of tracks. If null a new list will be declared internally.
        Returns:
        List of tracks.
      • getNewTracks

        public java.util.List<PointTrack> getNewTracks(java.util.List<PointTrack> list)
        Description copied from interface: PointTracker
        Returns a list of tracks that have been added since process was called.
        Specified by:
        getNewTracks in interface PointTracker<T extends ImageBase>
        Parameters:
        list - Optional storage for the list of tracks. If null a new list will be declared internally.
        Returns:
        List of tracks.
      • spawnTracks

        public void spawnTracks()
        Description copied from interface: PointTracker
        Automatically selects new features in the image to track. Returned tracks must be unique and not duplicates of any existing tracks. This includes both active and inactive tracks. NOTE: This function may or may not also modify the active and inactive lists.
        Specified by:
        spawnTracks in interface PointTracker<T extends ImageBase>
      • performSecondPass

        public void performSecondPass()
        Description copied from interface: PointTrackerTwoPass
        Updates spacial information for each track and active list. Does not change the track description or any other lists. Can be called multiple times.
        Specified by:
        performSecondPass in interface PointTrackerTwoPass<T extends ImageBase>
      • setHint

        public void setHint(double pixelX,
                            double pixelY,
                            PointTrack track)
        Description copied from interface: PointTrackerTwoPass
        Provides a hint for where the
        Specified by:
        setHint in interface PointTrackerTwoPass<T extends ImageBase>
        Parameters:
        pixelX - x-coordinate hint for where the track is in the image
        pixelY - y-coordinate hint for where the track is in the image
        track - The track for which the hint is being provided for

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.