I - Input image typeIT - Motion model data typepublic class ImageMotionPointTrackerKey<I extends boofcv.struct.image.ImageBase,IT extends georegression.struct.InvertibleTransform>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
keyFrame |
protected IT |
keyToCurr |
protected org.ddogleg.fitting.modelset.ModelMatcher<IT,boofcv.struct.geo.AssociatedPair> |
modelMatcher |
protected org.ddogleg.fitting.modelset.ModelFitter<IT,boofcv.struct.geo.AssociatedPair> |
modelRefiner |
protected int |
outlierPrune |
protected int |
totalFramesProcessed |
protected boofcv.abst.feature.tracker.PointTracker<I> |
tracker |
protected IT |
worldToCurr |
protected IT |
worldToKey |
| Modifier | Constructor and Description |
|---|---|
protected |
ImageMotionPointTrackerKey() |
|
ImageMotionPointTrackerKey(boofcv.abst.feature.tracker.PointTracker<I> tracker,
org.ddogleg.fitting.modelset.ModelMatcher<IT,boofcv.struct.geo.AssociatedPair> modelMatcher,
org.ddogleg.fitting.modelset.ModelFitter<IT,boofcv.struct.geo.AssociatedPair> modelRefiner,
IT model,
int outlierPrune)
Specify algorithms to use internally.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeKeyFrame()
Change the current frame into the keyframe.
|
IT |
getKeyToCurr() |
org.ddogleg.fitting.modelset.ModelMatcher<IT,boofcv.struct.geo.AssociatedPair> |
getModelMatcher() |
java.lang.Class<IT> |
getModelType() |
int |
getTotalFramesProcessed() |
boofcv.abst.feature.tracker.PointTracker<I> |
getTracker() |
IT |
getWorldToCurr() |
IT |
getWorldToKey() |
boolean |
isKeyFrame() |
boolean |
process(I frame)
Processes the next frame in the sequence.
|
void |
reset()
Makes the current frame the first frame and discards its past history
|
void |
resetTransforms() |
protected int totalFramesProcessed
protected boofcv.abst.feature.tracker.PointTracker<I extends boofcv.struct.image.ImageBase> tracker
protected org.ddogleg.fitting.modelset.ModelMatcher<IT extends georegression.struct.InvertibleTransform,boofcv.struct.geo.AssociatedPair> modelMatcher
protected org.ddogleg.fitting.modelset.ModelFitter<IT extends georegression.struct.InvertibleTransform,boofcv.struct.geo.AssociatedPair> modelRefiner
protected IT extends georegression.struct.InvertibleTransform worldToKey
protected IT extends georegression.struct.InvertibleTransform keyToCurr
protected IT extends georegression.struct.InvertibleTransform worldToCurr
protected int outlierPrune
protected boolean keyFrame
public ImageMotionPointTrackerKey(boofcv.abst.feature.tracker.PointTracker<I> tracker, org.ddogleg.fitting.modelset.ModelMatcher<IT,boofcv.struct.geo.AssociatedPair> modelMatcher, org.ddogleg.fitting.modelset.ModelFitter<IT,boofcv.struct.geo.AssociatedPair> modelRefiner, IT model, int outlierPrune)
tracker - feature trackermodelMatcher - Fits model to track datamodelRefiner - (Optional) Refines the found model using the entire inlier set. Can be null.model - Motion model data structureoutlierPrune - If a track is an outlier for this many frames in a row they are prunedprotected ImageMotionPointTrackerKey()
public void reset()
public boolean process(I frame)
frame - Next frame in the video sequencepublic void changeKeyFrame()
public void resetTransforms()
public IT getWorldToCurr()
public IT getWorldToKey()
public IT getKeyToCurr()
public boofcv.abst.feature.tracker.PointTracker<I> getTracker()
public org.ddogleg.fitting.modelset.ModelMatcher<IT,boofcv.struct.geo.AssociatedPair> getModelMatcher()
public int getTotalFramesProcessed()
public boolean isKeyFrame()
public java.lang.Class<IT> getModelType()