summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-pt/point_extractor.h')
-rwxr-xr-x[-rw-r--r--]tracker-pt/point_extractor.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tracker-pt/point_extractor.h b/tracker-pt/point_extractor.h
index 3e4661f9..5a3630be 100644..100755
--- a/tracker-pt/point_extractor.h
+++ b/tracker-pt/point_extractor.h
@@ -25,15 +25,22 @@ public:
const std::vector<cv::Vec2f> &extract_points(cv::Mat &frame);
int get_n_points() { QMutexLocker l(&mtx); return points.size(); }
PointExtractor();
+ ~PointExtractor();
settings_pt s;
private:
+ void gray_square_diff(const cv::Mat& frame, cv::Mat& frame_gray);
+
enum { hist_c = 2 };
std::vector<cv::Vec2f> points;
QMutex mtx;
cv::Mat frame_gray;
+ cv::Mat frame_gray_tmp;
cv::Mat frame_bin;
cv::Mat hist;
+ std::vector<cv::Mat> gray_split_channels;
+ std::vector<cv::Mat> gray_absdiff_channels;
+ cv::Mat float_absdiff_channel;
enum { max_blobs = 16 };