public class BasicMBFImageObjectTracker extends Object implements ObjectTracker<Rectangle,MBFImage>
BasicObjectTracker
and flattens the
incoming MBFImages to FImages and then tracks.Constructor and Description |
---|
BasicMBFImageObjectTracker() |
Modifier and Type | Method and Description |
---|---|
FeatureList |
getFeatureList()
Returns the list of features that the tracker has been tracking.
|
List<Rectangle> |
initialiseTracking(Rectangle bounds,
MBFImage image)
Initialise the tracking with the given target area in the given image.
|
List<Rectangle> |
trackObject(MBFImage image)
Track the object in the image.
|
public BasicMBFImageObjectTracker()
public FeatureList getFeatureList()
FeatureList
public List<Rectangle> initialiseTracking(Rectangle bounds, MBFImage image)
initialiseTracking
in interface ObjectTracker<Rectangle,MBFImage>
bounds
- The target area to track in the imageimage
- The image to initialise the tracking withObjectTracker.initialiseTracking(org.openimaj.math.geometry.shape.Rectangle, java.lang.Object)
public List<Rectangle> trackObject(MBFImage image)
trackObject
in interface ObjectTracker<Rectangle,MBFImage>
image
- The image to continue tracking the object within.ObjectTracker.trackObject(java.lang.Object)