|
template<typename T > |
bool | AddFeatures (std::map< int, T > &container, int type_id=0, int first_id=0, int last_id=65535) |
| add features to the previously tracked frame if there are less than min_features More...
|
|
bool | DelFeature (int index) |
|
bool | DelFeatureId (int id) |
|
template<typename T > |
int | EraseNonTracked (std::map< int, T > &container, int type_id=-1) |
| Erases the items matching with type_id having has_p2d == false . If type_id == -1 doesn't test the type. More...
|
|
void | Purge () |
| Purge features that are considerably closer than the defined min_distance. More...
|
|
void | Reset () |
|
double | Reset (IplImage *img, IplImage *mask) |
|
template<typename T > |
bool | Track (IplImage *img, IplImage *mask, std::map< int, T > &container, int type_id=-1, int first_id=-1, int last_id=-1) |
| Track features with matching type id. New features will have id's in the specified id range. More...
|
|
template<typename T , typename F > |
bool | Track (IplImage *img, IplImage *mask, std::map< int, T > &container, F do_handle_test, int type_id=0, int first_id=-1, int last_id=-1) |
| Track features matching the given functor. New features will have id's in the specified id range. More...
|
|
| TrackerFeaturesEC (int _max_features=100, int _min_features=90, double _quality_level=0.01, double _min_distance=10, int _pyr_levels=4, int win_size=6) |
| Constructor. More...
|
|
int | AddFeatures (IplImage *mask=NULL) |
| add features to the previously tracked frame if there are less than min_features More...
|
|
void | ChangeSettings (int _max_features=100, int _min_features=90, double _quality_level=0.01, double _min_distance=10) |
| Change settings while running. More...
|
|
bool | DelFeature (int index) |
| Stop tracking the identified feature (with index for features array) More...
|
|
bool | DelFeatureId (int id) |
| Stop tracking the identified feature (with feature id) More...
|
|
IplImage * | NewFeatureMask () |
| Create and get the pointer to new_features_mask. More...
|
|
int | Purge () |
| Purge features that are considerably closer than the defined min_distance. More...
|
|
void | Reset () |
| Reset. More...
|
|
double | Reset (IplImage *img, IplImage *mask) |
| Reset track features on specified mask area. More...
|
|
double | Track (IplImage *img) |
| Track features. More...
|
|
double | Track (IplImage *img, bool add_features) |
| Track features. More...
|
|
double | Track (IplImage *img, IplImage *mask) |
| Track features. More...
|
|
| 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) |
| Constructor for TrackerFeatures tracks features using OpenCV's cvGoodFeaturesToTrack and cvCalcOpticalFlowPyrLK. More...
|
|
| ~TrackerFeatures () |
| Destructor. More...
|
|
virtual void | Compensate (double *x, double *y) |
|
| Tracker () |
|
Version of TrackerFeatures using external container.
Definition at line 252 of file EC.h.
template<typename T , typename F >
bool alvar::TrackerFeaturesEC::Track |
( |
IplImage * |
img, |
|
|
IplImage * |
mask, |
|
|
std::map< int, T > & |
container, |
|
|
F |
do_handle_test, |
|
|
int |
type_id = 0 , |
|
|
int |
first_id = -1 , |
|
|
int |
last_id = -1 |
|
) |
| |
|
inline |
Track features matching the given functor. New features will have id's in the specified id range.
Track features matching the given functor. If first_id >= 0 we call AddFeatures with the specified id range.
Definition at line 311 of file EC.h.