OpenCV
3.0.0
Open Source Computer Vision
|
Median Flow tracker implementation. More...
#include "tracker.hpp"
Classes | |
struct | Params |
Public Member Functions | |
virtual | ~TrackerMedianFlow () |
Public Member Functions inherited from cv::Tracker | |
virtual | ~Tracker () |
bool | init (const Mat &image, const Rect2d &boundingBox) |
Initialize the tracker with a know bounding box that surrounding the target. More... | |
virtual void | read (const FileNode &fn)=0 |
Reads algorithm parameters from a file storage. More... | |
bool | update (const Mat &image, Rect2d &boundingBox) |
Update the tracker, find the new most likely bounding box for the target. More... | |
virtual void | write (FileStorage &fs) const =0 |
Stores algorithm parameters in a file storage. More... | |
Public Member Functions inherited from cv::Algorithm | |
Algorithm () | |
virtual | ~Algorithm () |
virtual void | clear () |
Clears the algorithm state. More... | |
virtual bool | empty () const |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More... | |
virtual String | getDefaultName () const |
virtual void | save (const String &filename) const |
Static Public Member Functions | |
static Ptr< TrackerMedianFlow > | createTracker (const TrackerMedianFlow::Params ¶meters=TrackerMedianFlow::Params()) |
Constructor. More... | |
Static Public Member Functions inherited from cv::Tracker | |
static Ptr< Tracker > | create (const String &trackerType) |
Creates a tracker by its name. More... | |
Static Public Member Functions inherited from cv::Algorithm | |
template<typename _Tp > | |
static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
Loads algorithm from the file. More... | |
template<typename _Tp > | |
static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
Loads algorithm from a String. More... | |
template<typename _Tp > | |
static Ptr< _Tp > | read (const FileNode &fn) |
Reads algorithm from the file node. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from cv::Tracker | |
virtual bool | initImpl (const Mat &image, const Rect2d &boundingBox)=0 |
virtual bool | updateImpl (const Mat &image, Rect2d &boundingBox)=0 |
Protected Attributes inherited from cv::Tracker | |
Ptr< TrackerFeatureSet > | featureSet |
bool | isInit |
Ptr< TrackerModel > | model |
Ptr< TrackerSampler > | sampler |
Median Flow tracker implementation.
Implementation of a paper [66] .
The tracker is suitable for very smooth and predictable movements when object is visible throughout the whole sequence. It's quite and accurate for this type of problems (in particular, it was shown by authors to outperform MIL). During the implementation period the code at http://www.aonsquared.co.uk/node/5, the courtesy of the author Arthur Amarra, was used for the reference purpose.
|
inlinevirtual |
|
static |
Constructor.
parameters | Median Flow parameters TrackerMedianFlow::Params |