Package boofcv.factory.tracker
Class FactoryTrackerAlg
java.lang.Object
boofcv.factory.tracker.FactoryTrackerAlg
Factory for creating feature trackers algorithms.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <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 ConfigPKlt kltConfig, @Nullable ConfigTrackerHybrid configHybrid, Class<I> imageType, @Nullable Class<D> derivType) Creates a tracker that is a hybrid between KLT and Detect-Describe-Associate (DDA) trackers.static <I extends ImageGray<I>,D extends ImageGray<D>>
KltTracker<I,D> Creates aKltTracker.static <I extends ImageGray<I>,D extends ImageGray<D>>
PyramidKltTracker<I,D> kltPyramid(@Nullable ConfigKlt config, Class<I> imageType, Class<D> derivType) Creates aPyramidKltTracker.
-
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 aKltTracker. 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 configurationimageType- Type of input imagederivType- 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 aPyramidKltTracker. 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 configurationimageType- Type of input imagederivType- Type of image derivative- Returns:
- Tracker
-
hybrid
public static <I extends ImageGray<I>,D extends ImageGray<D>, HybridTrackerScalePoint<I,Desc extends TupleDesc<Desc>> D, hybridDesc> (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 KLTimageType- Input image type. @return Feature tracker- See Also:
-