use of boofcv.alg.tracker.klt.KltConfig in project BoofCV by lessthanoptimal.
the class TestTldRegionTracker method createAlg.
private TldRegionTracker<GrayU8, GrayS16> createAlg() {
ImageGradient<GrayU8, GrayS16> gradient = FactoryDerivative.sobel(GrayU8.class, GrayS16.class);
PyramidKltTracker<GrayU8, GrayS16> tracker = FactoryTrackerAlg.kltPyramid(new KltConfig(), GrayU8.class, GrayS16.class);
return new TldRegionTracker<>(10, 5, 100, gradient, tracker, GrayU8.class, GrayS16.class);
}