OpenCV  3.1.0
Open Source Computer Vision
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
cv::TrackerKCF Class Reference

KCF is a novel tracking framework that utilizes properties of circulant matrix to enhance the processing speed. This tracking method is an implementation of [65] which is extended to KFC with color-names features ([29]). The original paper of KCF is available at http://home.isr.uc.pt/~henriques/circulant/index.html as well as the matlab implementation. For more information about KCF with color-names features, please refer to http://www.cvl.isy.liu.se/research/objrec/visualtracking/colvistrack/index.html. More...

#include "tracker.hpp"

Inheritance diagram for cv::TrackerKCF:
cv::Tracker cv::Algorithm

Classes

struct  Params
 

Public Types

enum  MODE {
  GRAY = (1u << 0),
  CN = (1u << 1),
  CUSTOM = (1u << 2)
}
 Feature type to be used in the tracking grayscale, colornames, compressed color-names The modes available now: More...
 

Public Member Functions

virtual ~TrackerKCF ()
 
virtual void setFeatureExtractor (void(*)(const Mat, const Rect, Mat &), bool pca_func=false)
 
- Public Member Functions inherited from cv::Tracker
virtual ~Tracker ()
 
Ptr< TrackerModelgetModel ()
 
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< TrackerKCFcreateTracker (const TrackerKCF::Params &parameters=TrackerKCF::Params())
 Constructor. More...
 
- Static Public Member Functions inherited from cv::Tracker
static Ptr< Trackercreate (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< TrackerFeatureSetfeatureSet
 
bool isInit
 
Ptr< TrackerModelmodel
 
Ptr< TrackerSamplersampler
 

Detailed Description

KCF is a novel tracking framework that utilizes properties of circulant matrix to enhance the processing speed. This tracking method is an implementation of [65] which is extended to KFC with color-names features ([29]). The original paper of KCF is available at http://home.isr.uc.pt/~henriques/circulant/index.html as well as the matlab implementation. For more information about KCF with color-names features, please refer to http://www.cvl.isy.liu.se/research/objrec/visualtracking/colvistrack/index.html.

Constructor & Destructor Documentation

virtual cv::TrackerKCF::~TrackerKCF ( )
inlinevirtual

Member Function Documentation

static Ptr< TrackerKCF > cv::TrackerKCF::createTracker ( const TrackerKCF::Params parameters = TrackerKCF::Params())
static

Constructor.

Parameters
parametersKCF parameters TrackerKCF::Params
virtual void cv::TrackerKCF::setFeatureExtractor ( void(*)(const Mat, const Rect, Mat &)  ,
bool  pca_func = false 
)
virtual

The documentation for this class was generated from the following file: