Package boofcv.abst.tracker
Class PointTrackerKltPyramid_MT<I extends ImageGray<I>,D extends ImageGray<D>>
java.lang.Object
boofcv.abst.tracker.PointTrackerKltPyramid<I,D>
boofcv.abst.tracker.PointTrackerKltPyramid_MT<I,D>
- All Implemented Interfaces:
PointTracker<I>
public class PointTrackerKltPyramid_MT<I extends ImageGray<I>,D extends ImageGray<D>>
extends PointTrackerKltPyramid<I,D>
Concurrent extension of
PointTrackerKltPyramid-
Nested Class Summary
Nested classes/interfaces inherited from interface boofcv.abst.tracker.PointTracker
PointTracker.Dropper -
Field Summary
FieldsModifier and TypeFieldDescriptionintIf there are fewer than this number of tracks it will use a single threadFields inherited from class boofcv.abst.tracker.PointTrackerKltPyramid
active, config, configMaxTracks, currPyr, derivType, dropped, frameID, gradient, input, prevPyr, spawned, templateRadius, toleranceFB, totalFeatures, tracker, unused -
Constructor Summary
ConstructorsConstructorDescriptionPointTrackerKltPyramid_MT(ConfigKlt config, double toleranceFB, int templateRadius, boolean performPruneClose, PyramidDiscrete<I> pyramid, GeneralFeatureDetector<I, D> detector, ImageGradient<I, D> gradient, InterpolateRectangle<I> interpInput, InterpolateRectangle<D> interpDeriv, Class<D> derivType) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddToTracks(float scaleBottom, QueueCorner found) protected voidTrack back to the previous frame and see if the original coordinate is found again.protected voidtrackFeatures(I image) Tracks features in the forward directionMethods inherited from class boofcv.abst.tracker.PointTrackerKltPyramid
addToList, addTrack, checkValidSpawn, dropAllTracks, dropTrack, dropTracks, getActiveTracks, getAllTracks, getDroppedTracks, getFrameID, getImageType, getInactiveTracks, getMaxSpawn, getNewTracks, getTotalActive, getTotalInactive, getUnusedTrack, process, pruneCloseTracks, reset, spawnTracks
-
Field Details
-
minimumTracksConcurrent
public int minimumTracksConcurrentIf there are fewer than this number of tracks it will use a single thread
-
-
Constructor Details
-
PointTrackerKltPyramid_MT
public PointTrackerKltPyramid_MT(ConfigKlt config, double toleranceFB, int templateRadius, boolean performPruneClose, PyramidDiscrete<I> pyramid, GeneralFeatureDetector<I, D> detector, ImageGradient<I, D> gradient, InterpolateRectangle<I> interpInput, InterpolateRectangle<D> interpDeriv, Class<D> derivType)
-
-
Method Details
-
addToTracks
- Overrides:
addToTracksin classPointTrackerKltPyramid<I extends ImageGray<I>,D extends ImageGray<D>>
-
trackFeatures
Description copied from class:PointTrackerKltPyramidTracks features in the forward direction- Overrides:
trackFeaturesin classPointTrackerKltPyramid<I extends ImageGray<I>,D extends ImageGray<D>>
-
backwardsTrackValidate
protected void backwardsTrackValidate()Description copied from class:PointTrackerKltPyramidTrack back to the previous frame and see if the original coordinate is found again. This assumes that all tracks in active list existed in the previous frame and were not spawned.- Overrides:
backwardsTrackValidatein classPointTrackerKltPyramid<I extends ImageGray<I>,D extends ImageGray<D>>
-