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
FieldsModifier and TypeFieldDescriptionconfiguration for low level KLT trackerintThe radius of each feature.protected intprotected PyramidKltTracker<I,D> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbooleanperformTracking(PyramidKltFeature feature) Updates the track using the latest inputs.voidsetDescription(float x, float y, PyramidKltFeature ret) voidsetInputs(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
-