39#ifndef TRACKINGPOINTSELECTOR_H
40#define TRACKINGPOINTSELECTOR_H
94 std::vector<cv::Point2f> _pts;
95 std::map<int, std::vector<TrackedPoint> > trackingPointBin;
96 std::vector<TrackedPoint> _selectedPts;
99 void ScaleFeatures(std::vector<cv::Point2f>& features);
100 void ScaleFeatures3d(std::vector<cv::Point3f>& features3d);
const int markerTemplateWidth
Width in pixels of image patches used in template matching.
Definition OCVConfig.cpp:40
#define OCV_EXTERN
Definition OCVConfig.h:54
OCV_EXTERN TrackingPointSelector()
Definition TrackingPointSelector.cpp:41
std::vector< cv::Point2f > GetTrackedFeaturesWarped(const cv::Mat &homography)
Gets the projected location in the video frame of the currently tracked features, when projected via ...
Definition TrackingPointSelector.cpp:183
std::vector< cv::Point3f > GetTrackedFeatures3d()
Definition TrackingPointSelector.cpp:171
void ResetSelection()
Signal that the next call to GetInitialFeatures should return a new selection.
Definition TrackingPointSelector.cpp:103
std::vector< cv::Point2f > GetInitialFeatures()
If reset, then selects an initial random template from each bin for tracking, and returns this set.
Definition TrackingPointSelector.cpp:126
OCV_EXTERN std::vector< cv::Point2f > GetAllFeatures()
Get all points from all bins that are candidates for selection.
Definition TrackingPointSelector.cpp:191
OCV_EXTERN void CleanUp()
Definition TrackingPointSelector.cpp:203
std::vector< cv::Point2f > GetTrackedFeatures()
Definition TrackingPointSelector.cpp:159
void UpdatePointStatus(std::vector< uchar > status)
Definition TrackingPointSelector.cpp:93
void DistributeBins(int markerTemplateWidth)
Iterates over _pts, the location of Harris corners in the image, and for each one,...
Definition TrackingPointSelector.cpp:61