Class Circulant_to_TrackerObjectQuad<T extends ImageGray<T>>

java.lang.Object
boofcv.abst.tracker.Circulant_to_TrackerObjectQuad<T>
All Implemented Interfaces:
TrackerObjectQuad<T>

public class Circulant_to_TrackerObjectQuad<T extends ImageGray<T>> extends Object implements TrackerObjectQuad<T>
  • Constructor Details

  • Method Details

    • initialize

      public boolean initialize(T image, Quadrilateral_F64 location)
      Description copied from interface: TrackerObjectQuad
      Initializes tracking by specifying the object's location using a quadrilateral. Some implementations can fail if there is insufficient visual information for it to track. All previous tracking information is discarded when this function is called.
      Specified by:
      initialize in interface TrackerObjectQuad<T extends ImageGray<T>>
      Parameters:
      image - Initial image in the sequence
      location - Initial location of the object being tracked
      Returns:
      true if successful and false if not.
    • hint

      public void hint(Quadrilateral_F64 hint)
      Description copied from interface: TrackerObjectQuad
      Provide a hint for where the tracked object is. How and if this hint is used at all is implementation specific. This can be used add information from sensors such as gyros to the tracker. If this functionality isn't supported by the tracker then it will simply ignore the suggestion. It probably knows what's happening than you do.
      Specified by:
      hint in interface TrackerObjectQuad<T extends ImageGray<T>>
      Parameters:
      hint - (Input) estimated location of the object.
    • process

      public boolean process(T image, Quadrilateral_F64 results)
      Description copied from interface: TrackerObjectQuad
      Updates the tracks location using the latest video frame. TrackerObjectQuad.initialize(boofcv.struct.image.ImageBase, Quadrilateral_F64) must be called once before this function can be called.
      Specified by:
      process in interface TrackerObjectQuad<T extends ImageGray<T>>
      Parameters:
      image - (Input) The next image in the video sequence.
      results - (Output) Storage for new location if tracking is successful.
      Returns:
      true if the target was found and 'location' updated.
    • getImageType

      public ImageType<T> getImageType()
      Description copied from interface: TrackerObjectQuad
      Returns information on the type of image that it can process.
      Specified by:
      getImageType in interface TrackerObjectQuad<T extends ImageGray<T>>
      Returns:
      Image type
    • getLowLevelTracker

      public CirculantTracker<T> getLowLevelTracker()
      Description copied from interface: TrackerObjectQuad
      Provides access to the inner low level tracker. You need to be familiar with the tracker's source code to make sure of this function. Returns null if implementing it doesn't make sense.
      Specified by:
      getLowLevelTracker in interface TrackerObjectQuad<T extends ImageGray<T>>
      Returns:
      Tracking algorithm.