public class Sfot_to_TrackObjectQuad<T extends boofcv.struct.image.ImageGray<T>,D extends boofcv.struct.image.ImageGray<D>> extends java.lang.Object implements TrackerObjectQuad<T>
SparseFlowObjectTracker for TrackerObjectQuad.| Constructor and Description |
|---|
Sfot_to_TrackObjectQuad(SparseFlowObjectTracker<T,D> alg,
java.lang.Class<T> imageType) |
| Modifier and Type | Method and Description |
|---|---|
boofcv.struct.image.ImageType<T> |
getImageType()
Returns information on the type of image that it can process.
|
SparseFlowObjectTracker<T,D> |
getLowLevelTracker()
Provides access to the inner low level tracker.
|
void |
hint(georegression.struct.shapes.Quadrilateral_F64 hint)
Doesn't support hint because it does a forwards and backwards track.
|
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.
|
static void |
quadToRectRot(georegression.struct.shapes.Quadrilateral_F64 q,
boofcv.struct.RectangleRotate_F32 r) |
static void |
quadToRectRot(georegression.struct.shapes.Quadrilateral_F64 q,
boofcv.struct.RectangleRotate_F64 r) |
static void |
rectRotToQuad(boofcv.struct.RectangleRotate_F32 r,
georegression.struct.shapes.Quadrilateral_F64 q) |
static void |
rectRotToQuad(boofcv.struct.RectangleRotate_F64 r,
georegression.struct.shapes.Quadrilateral_F64 q) |
public Sfot_to_TrackObjectQuad(SparseFlowObjectTracker<T,D> alg, java.lang.Class<T> imageType)
public boolean initialize(T image, georegression.struct.shapes.Quadrilateral_F64 location)
TrackerObjectQuadinitialize in interface TrackerObjectQuad<T extends boofcv.struct.image.ImageGray<T>>image - Initial image in the sequencelocation - Initial location of the object being trackedpublic void hint(georegression.struct.shapes.Quadrilateral_F64 hint)
hint in interface TrackerObjectQuad<T extends boofcv.struct.image.ImageGray<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.ImageGray<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.ImageGray<T>>public static void quadToRectRot(georegression.struct.shapes.Quadrilateral_F64 q,
boofcv.struct.RectangleRotate_F64 r)
public static void quadToRectRot(georegression.struct.shapes.Quadrilateral_F64 q,
boofcv.struct.RectangleRotate_F32 r)
public static void rectRotToQuad(boofcv.struct.RectangleRotate_F64 r,
georegression.struct.shapes.Quadrilateral_F64 q)
public static void rectRotToQuad(boofcv.struct.RectangleRotate_F32 r,
georegression.struct.shapes.Quadrilateral_F64 q)
public SparseFlowObjectTracker<T,D> getLowLevelTracker()
TrackerObjectQuadgetLowLevelTracker in interface TrackerObjectQuad<T extends boofcv.struct.image.ImageGray<T>>