summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-16 16:10:52 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-16 18:04:36 +0200
commitb3476cc5f25c6039ebec6174c9e719f0ca37d24f (patch)
tree37bc982a87495cad0f466d93c966032e8b8ee0be /tracker-pt/point_extractor.cpp
parent707edf55646b62d74a3ff3de9acc274687c13e05 (diff)
tracker/pt: get rid of pt_types class
Diffstat (limited to 'tracker-pt/point_extractor.cpp')
-rw-r--r--tracker-pt/point_extractor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tracker-pt/point_extractor.cpp b/tracker-pt/point_extractor.cpp
index 5e72c3be..6411fcef 100644
--- a/tracker-pt/point_extractor.cpp
+++ b/tracker-pt/point_extractor.cpp
@@ -19,12 +19,14 @@
#include <algorithm>
#include <cinttypes>
+constexpr double PointExtractor::pi;
+
PointExtractor::PointExtractor()
{
blobs.reserve(max_blobs);
}
-void PointExtractor::extract_points(cv::Mat& frame, std::vector<PointExtractor::vec2>& points)
+void PointExtractor::extract_points(cv::Mat& frame, std::vector<vec2>& points)
{
using std::sqrt;
using std::max;