summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-21 11:09:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-21 11:09:00 +0200
commitd576eca6a6e894606239f36b54dcb3fe5f0744cf (patch)
tree6ac68e5d63b75c9c5427be28fe24cc4b64f36329 /tracker-pt/point_extractor.h
parentaaf7965df8b423bcacd411931d4cb0bb238ced61 (diff)
tracker/pt: move pi constant to headers
Diffstat (limited to 'tracker-pt/point_extractor.h')
-rw-r--r--tracker-pt/point_extractor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tracker-pt/point_extractor.h b/tracker-pt/point_extractor.h
index 3e4661f9..b3fac38a 100644
--- a/tracker-pt/point_extractor.h
+++ b/tracker-pt/point_extractor.h
@@ -28,7 +28,9 @@ public:
settings_pt s;
private:
- enum { hist_c = 2 };
+ static constexpr double pi = 3.14159265359;
+ static constexpr int hist_c = 1;
+
std::vector<cv::Vec2f> points;
QMutex mtx;
cv::Mat frame_gray;