summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-12 19:40:22 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-12 19:40:22 +0100
commit537a88e522314753149e1ea7921489e58043b40c (patch)
treea62ac59a546c8b0ee8adeee3bd2aa255d7e4570e /tracker-pt/ftnoir_tracker_pt.h
parent11d8e48e4370c9201f8258b418aadc7a4290dba1 (diff)
tracker/pt: isolate point extractor and image type
Issue: #718
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.h')
-rw-r--r--tracker-pt/ftnoir_tracker_pt.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.h b/tracker-pt/ftnoir_tracker_pt.h
index 9cf14cfd..deddeea8 100644
--- a/tracker-pt/ftnoir_tracker_pt.h
+++ b/tracker-pt/ftnoir_tracker_pt.h
@@ -26,10 +26,11 @@
#include <QThread>
#include <QMutex>
#include <QLayout>
+#include <QTimer>
class TrackerDialog_PT;
-namespace pt_impl {
+namespace pt_module {
using namespace types;
@@ -67,8 +68,9 @@ private:
std::unique_ptr<cv_video_widget> video_widget;
std::unique_ptr<QLayout> layout;
- cv::Mat frame, preview_frame;
std::vector<vec2> points;
+ std::unique_ptr<pt_frame> frame;
+ std::unique_ptr<pt_preview> preview_frame;
QSize preview_size;
@@ -81,4 +83,4 @@ private:
} // ns pt_impl
-using pt_impl::Tracker_PT;
+using pt_module::Tracker_PT;