24 #ifndef TRACKERFEATURES_H 25 #define TRACKERFEATURES_H 61 double TrackHid(IplImage *img, IplImage *mask=NULL,
bool add_features=
true);
84 TrackerFeatures(
int _max_features=100,
int _min_features=90,
double _quality_level=0.01,
double _min_distance=10,
int _pyr_levels=1,
int _win_size=3);
88 void ChangeSettings(
int _max_features=100,
int _min_features=90,
double _quality_level=0.01,
double _min_distance=10);
92 double Reset(IplImage *img, IplImage *mask);
94 bool DelFeature(
int index);
96 bool DelFeatureId(
int id);
100 double Track(IplImage *img,
bool add_features);
102 double Track(IplImage* img, IplImage* mask);
104 int AddFeatures(IplImage *mask=NULL);
106 IplImage *NewFeatureMask();
This file implements a tracking interface.
CvPoint2D32f * features
Track result: current features
double Track(IplImage *img)
Track features.
int prev_feature_count
Track result: count of previous features
int * prev_ids
Track result: ID:s for previous features
CvPoint2D32f * prev_features
Track result: previous features
Pure virtual base class for tracking optical flow.
int feature_count
Track result: count of current features
TrackerFeatures tracks features using OpenCV's cvGoodFeaturesToTrack and cvCalcOpticalFlowPyrLK ...
int * ids
Track result: ID:s for current features