Package boofcv.alg.tracker.hybrid
Class PyramidKltForHybrid<I extends ImageGray<I>,D extends ImageGray<D>>
java.lang.Object
boofcv.alg.tracker.hybrid.PyramidKltForHybrid<I,D>
Pyramidal KLT tracker designed for
HybridTrackerScalePoint
.-
Field Summary
Modifier and TypeFieldDescriptionconfiguration for low level KLT trackerint
The radius of each feature.protected int
protected PyramidKltTracker<I,
D> -
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionboolean
performTracking
(PyramidKltFeature feature) Updates the track using the latest inputs.void
setDescription
(float x, float y, PyramidKltFeature ret) void
setInputs
(ImagePyramid<I> image, D[] derivX, D[] derivY)
-
Field Details
-
config
configuration for low level KLT tracker -
featureRadius
public int featureRadiusThe radius of each feature. 3 is a reasonable number. -
numLevels
protected int numLevels -
tracker
-
-
Constructor Details
-
PyramidKltForHybrid
-
PyramidKltForHybrid
protected PyramidKltForHybrid()
-
-
Method Details
-
setDescription
-
setInputs
-
performTracking
Updates the track using the latest inputs. If tracking fails then the feature description in each layer is unchanged and its global position.- Parameters:
feature
- Feature being updated- Returns:
- true if tracking was successful, false otherwise
-
createNewTrack
-