diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-16 16:10:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-09-16 18:04:36 +0200 |
commit | b3476cc5f25c6039ebec6174c9e719f0ca37d24f (patch) | |
tree | 37bc982a87495cad0f466d93c966032e8b8ee0be /tracker-pt/point_extractor.h | |
parent | 707edf55646b62d74a3ff3de9acc274687c13e05 (diff) |
tracker/pt: get rid of pt_types class
Diffstat (limited to 'tracker-pt/point_extractor.h')
-rw-r--r-- | tracker-pt/point_extractor.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tracker-pt/point_extractor.h b/tracker-pt/point_extractor.h index 0a019ec0..5ebd8056 100644 --- a/tracker-pt/point_extractor.h +++ b/tracker-pt/point_extractor.h @@ -13,11 +13,12 @@ #include <opencv2/imgproc/imgproc.hpp> #include "ftnoir_tracker_pt_settings.h" -#include "compat/pi-constant.hpp" #include <vector> -class PointExtractor final : private pt_types +using namespace pt_types; + +class PointExtractor final { public: // extracts points from frame and draws some processing info into frame, if draw_output is set @@ -28,7 +29,7 @@ public: settings_pt s; private: - static constexpr double pi = OPENTRACK_PI; + static constexpr double pi = constants::pi; static constexpr int max_blobs = 16; cv::Mat frame_gray; |