Class FactoryTrackerAlg

java.lang.Object
boofcv.factory.tracker.FactoryTrackerAlg

public class FactoryTrackerAlg extends Object
Factory for creating feature trackers algorithms.
  • Constructor Details

    • FactoryTrackerAlg

      public FactoryTrackerAlg()
  • Method Details

    • klt

      public static <I extends ImageGray<I>, D extends ImageGray<D>> KltTracker<I,D> klt(@Nullable @Nullable ConfigKlt config, Class<I> imageType, Class<D> derivType)
      Creates a KltTracker. NOTE: The pyramid's structure is determined by the input pyramid that is processed.
      Type Parameters:
      I - Input image type.
      D - Derivative image type.
      Parameters:
      config - KLT configuration
      imageType - Type of input image
      derivType - Type of image derivative
      Returns:
      Tracker
    • kltPyramid

      public static <I extends ImageGray<I>, D extends ImageGray<D>> PyramidKltTracker<I,D> kltPyramid(@Nullable @Nullable ConfigKlt config, Class<I> imageType, Class<D> derivType)
      Creates a PyramidKltTracker. NOTE: The pyramid's structure is determined by the input pyramid that is processed.
      Type Parameters:
      I - Input image type.
      D - Derivative image type.
      Parameters:
      config - KLT configuration
      imageType - Type of input image
      derivType - Type of image derivative
      Returns:
      Tracker
    • hybrid

      public static <I extends ImageGray<I>, D extends ImageGray<D>, Desc extends TupleDesc<Desc>> HybridTrackerScalePoint<I,D,Desc> hybrid(DetectDescribePoint<I,Desc> detector, AssociateDescription2D<Desc> associate, int tooCloseRadius, @Nullable @Nullable ConfigPKlt kltConfig, @Nullable @Nullable ConfigTrackerHybrid configHybrid, Class<I> imageType, @Nullable @Nullable Class<D> derivType)
      Creates a tracker that is a hybrid between KLT and Detect-Describe-Associate (DDA) trackers.
      Parameters:
      detector - Feature detector and describer.
      associate - Association algorithm.
      kltConfig - Configuration for KLT
      imageType - Input image type. @return Feature tracker
      See Also: