public class PointTrackerTwoPassKltPyramid<I extends boofcv.struct.image.ImageGray,D extends boofcv.struct.image.ImageGray> extends PointTrackerKltPyramid<I,D> implements PointTrackerTwoPass<I>
PointTrackerKltPyramid so that it conforms to the PointTrackerTwoPass interface.active, basePyramid, config, derivType, derivX, derivY, dropped, gradient, input, spawned, templateRadius, tracker, unused| Constructor and Description |
|---|
PointTrackerTwoPassKltPyramid(boofcv.alg.tracker.klt.KltConfig config,
int templateRadius,
boofcv.struct.pyramid.PyramidDiscrete<I> pyramid,
boofcv.alg.feature.detect.interest.GeneralFeatureDetector<I,D> detector,
boofcv.abst.filter.derivative.ImageGradient<I,D> gradient,
boofcv.alg.interpolate.InterpolateRectangle<I> interpInput,
boofcv.alg.interpolate.InterpolateRectangle<D> interpDeriv) |
| Modifier and Type | Method and Description |
|---|---|
void |
finishTracking()
Finishes tracking and updates the track's description, updates inactive and drop track lists.
|
java.util.List<PointTrack> |
getAllTracks(java.util.List<PointTrack> list)
Returns a list of all features that are currently being tracked
|
void |
performSecondPass()
Updates spacial information for each track and active list.
|
void |
process(I image)
Process input image and perform tracking.
|
void |
setHint(double pixelX,
double pixelY,
PointTrack track)
Provides a hint for where the
|
addToList, addTrack, checkValidSpawn, declareOutput, dropAllTracks, dropTrack, getActiveTracks, getDroppedTracks, getInactiveTracks, getNewTracks, reset, spawnTracksclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdropAllTracks, dropTrack, getActiveTracks, getDroppedTracks, getInactiveTracks, getNewTracks, reset, spawnTrackspublic PointTrackerTwoPassKltPyramid(boofcv.alg.tracker.klt.KltConfig config,
int templateRadius,
boofcv.struct.pyramid.PyramidDiscrete<I> pyramid,
boofcv.alg.feature.detect.interest.GeneralFeatureDetector<I,D> detector,
boofcv.abst.filter.derivative.ImageGradient<I,D> gradient,
boofcv.alg.interpolate.InterpolateRectangle<I> interpInput,
boofcv.alg.interpolate.InterpolateRectangle<D> interpDeriv)
public void process(I image)
PointTrackerprocess in interface PointTracker<I extends boofcv.struct.image.ImageGray>process in interface PointTrackerTwoPass<I extends boofcv.struct.image.ImageGray>process in class PointTrackerKltPyramid<I extends boofcv.struct.image.ImageGray,D extends boofcv.struct.image.ImageGray>image - Next image in the sequencepublic void performSecondPass()
PointTrackerTwoPassperformSecondPass in interface PointTrackerTwoPass<I extends boofcv.struct.image.ImageGray>public void finishTracking()
PointTrackerTwoPassfinishTracking in interface PointTrackerTwoPass<I extends boofcv.struct.image.ImageGray>public void setHint(double pixelX,
double pixelY,
PointTrack track)
PointTrackerTwoPasssetHint in interface PointTrackerTwoPass<I extends boofcv.struct.image.ImageGray>pixelX - x-coordinate hint for where the track is in the imagepixelY - y-coordinate hint for where the track is in the imagetrack - The track for which the hint is being provided forpublic java.util.List<PointTrack> getAllTracks(java.util.List<PointTrack> list)
PointTrackergetAllTracks in interface PointTracker<I extends boofcv.struct.image.ImageGray>getAllTracks in class PointTrackerKltPyramid<I extends boofcv.struct.image.ImageGray,D extends boofcv.struct.image.ImageGray>list - Optional storage for the list of tracks.
If null a new list will be declared internally.