Search in sources :

Example 1 with KltConfig

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);
}
Also used : GrayS16(boofcv.struct.image.GrayS16) KltConfig(boofcv.alg.tracker.klt.KltConfig) GrayU8(boofcv.struct.image.GrayU8)

Aggregations

KltConfig (boofcv.alg.tracker.klt.KltConfig)1 GrayS16 (boofcv.struct.image.GrayS16)1 GrayU8 (boofcv.struct.image.GrayU8)1