public class Comaniciu2003_to_TrackerObjectQuad<T extends boofcv.struct.image.ImageBase<T>> extends java.lang.Object implements TrackerObjectQuad<T>
TrackerMeanShiftComaniciu2003 for TrackerObjectQuad| Constructor and Description |
|---|
Comaniciu2003_to_TrackerObjectQuad(TrackerMeanShiftComaniciu2003<T> alg,
boofcv.struct.image.ImageType<T> type) |
| Modifier and Type | Method and Description |
|---|---|
boofcv.struct.image.ImageType<T> |
getImageType()
Returns information on the type of image that it can process.
|
TrackerMeanShiftComaniciu2003<T> |
getLowLevelTracker()
Provides access to the inner low level tracker.
|
void |
hint(georegression.struct.shapes.Quadrilateral_F64 hint)
Provide a hint for where the tracked object is.
|
boolean |
initialize(T image,
georegression.struct.shapes.Quadrilateral_F64 location)
Initializes tracking by specifying the object's location using a quadrilateral.
|
boolean |
process(T image,
georegression.struct.shapes.Quadrilateral_F64 results)
Updates the tracks location using the latest video frame.
|
public Comaniciu2003_to_TrackerObjectQuad(TrackerMeanShiftComaniciu2003<T> alg, boofcv.struct.image.ImageType<T> type)
public boolean initialize(T image, georegression.struct.shapes.Quadrilateral_F64 location)
TrackerObjectQuadinitialize in interface TrackerObjectQuad<T extends boofcv.struct.image.ImageBase<T>>image - Initial image in the sequencelocation - Initial location of the object being trackedpublic void hint(georegression.struct.shapes.Quadrilateral_F64 hint)
TrackerObjectQuadhint in interface TrackerObjectQuad<T extends boofcv.struct.image.ImageBase<T>>hint - (Input) estimated location of the object.public boolean process(T image, georegression.struct.shapes.Quadrilateral_F64 results)
TrackerObjectQuadTrackerObjectQuad.initialize(boofcv.struct.image.ImageBase, Quadrilateral_F64)
must be called once before this function can be called.process in interface TrackerObjectQuad<T extends boofcv.struct.image.ImageBase<T>>image - (Input) The next image in the video sequence.results - (Output) Storage for new location if tracking is successful.public boofcv.struct.image.ImageType<T> getImageType()
TrackerObjectQuadgetImageType in interface TrackerObjectQuad<T extends boofcv.struct.image.ImageBase<T>>public TrackerMeanShiftComaniciu2003<T> getLowLevelTracker()
TrackerObjectQuadgetLowLevelTracker in interface TrackerObjectQuad<T extends boofcv.struct.image.ImageBase<T>>