summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-12-19 20:46:10 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-12-19 20:46:29 +0100
commitf4647a9960f531829f1add40554442a7c84d82a6 (patch)
treeda473be29f3f3383abb8aacb699ccb36dc8420a5 /tracker-pt/point_extractor.h
parentfba00166c94f066bf0d8d2174b508d2f849abe53 (diff)
tracker/pt: don't allocate temporary dynamic size arrays
Diffstat (limited to 'tracker-pt/point_extractor.h')
-rw-r--r--tracker-pt/point_extractor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tracker-pt/point_extractor.h b/tracker-pt/point_extractor.h
index 979cc8b6..ad8955fc 100644
--- a/tracker-pt/point_extractor.h
+++ b/tracker-pt/point_extractor.h
@@ -27,8 +27,12 @@ public:
settings_pt s;
private:
+ enum { hist_c = 8 };
std::vector<cv::Vec2f> points;
QMutex mtx;
+ cv::Mat frame_gray;
+ cv::Mat frame_bin;
+ cv::Mat hist;
};
#endif //POINTEXTRACTOR_H