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
Modifier and TypeFieldDescriptionint
If 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
ConstructorDescriptionPointTrackerKltPyramid_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 void
addToTracks
(float scaleBottom, QueueCorner found) protected void
Track back to the previous frame and see if the original coordinate is found again.protected void
trackFeatures
(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:
addToTracks
in classPointTrackerKltPyramid<I extends ImageGray<I>,
D extends ImageGray<D>>
-
trackFeatures
Description copied from class:PointTrackerKltPyramid
Tracks features in the forward direction- Overrides:
trackFeatures
in classPointTrackerKltPyramid<I extends ImageGray<I>,
D extends ImageGray<D>>
-
backwardsTrackValidate
protected void backwardsTrackValidate()Description copied from class:PointTrackerKltPyramid
Track 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:
backwardsTrackValidate
in classPointTrackerKltPyramid<I extends ImageGray<I>,
D extends ImageGray<D>>
-