Documentation of 'boofcv.alg.tracker.combined.CombinedTrackerScalePoint' Java class
CombinedTrackerScalePoint
boofcv.alg.tracker.combined

Class CombinedTrackerScalePoint<I extends ImageGray,D extends ImageGray,TD extends TupleDesc>



  • public class CombinedTrackerScalePoint<I extends ImageGray,D extends ImageGray,TD extends TupleDesc>
    extends java.lang.Object

    Combines a KLT tracker with Detect-Describe-Associate type trackers. Features are nominally tracked using KLT, but after KLT drops a track it is deactivated and made dormant. Upon request, it will attempt to reactivate a dormant track by associating it with newly detected features. After a track has been reactivated it will be tracked normally.

    • Method Detail

      • reset

        public void reset()
        Sets the tracker into its initial state. Previously declared track data structures are saved for re-use.
      • updateTracks

        public void updateTracks(I input,
                                 PyramidDiscrete<I> pyramid,
                                 D[] derivX,
                                 D[] derivY)
        Updates the location and description of tracks using KLT. Saves a reference to the input image for future processing.
        Parameters:
        input - Input image.
        pyramid - Image pyramid of input.
        derivX - Derivative pyramid of input x-axis
        derivY - Derivative pyramid of input y-axis
      • spawnTracksFromDetected

        public void spawnTracksFromDetected()
        From the found interest points create new tracks. Tracks are only created at points where there are no existing tracks. Note: Must be called after associateAllToDetected().
      • associateAllToDetected

        public void associateAllToDetected()
        Associate all tracks in any state to the latest observations. If a dormant track is associated it will be reactivated. If a reactivated track is associated it's state will be updated. PureKLT tracks are left unmodified.
      • dropTrack

        public boolean dropTrack(CombinedTrack<TD> track)
        Stops tracking the specified track and recycles its data.
        Parameters:
        track - The track being dropped
        Returns:
        true if the track was being tracked and data was recycled false if not.
      • getReactivated

        public java.util.List<CombinedTrack<TD>> getReactivated()
      • dropAllTracks

        public void dropAllTracks()
        Drops all tracks and recycles the data

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.