summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/module
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-28 00:04:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-28 00:04:40 +0200
commitf0753ecf534d7a670bb5531734651285b0e3073b (patch)
treec6d538ffaf2b13ac2376ff5776d06e0f74306643 /tracker-pt/module
parentb252ceaf9bd55cc4df674b49b5fbd418a66976d1 (diff)
fix build warnings
Diffstat (limited to 'tracker-pt/module')
-rw-r--r--tracker-pt/module/point_extractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/module/point_extractor.cpp b/tracker-pt/module/point_extractor.cpp
index e1047b44..dd7b6961 100644
--- a/tracker-pt/module/point_extractor.cpp
+++ b/tracker-pt/module/point_extractor.cpp
@@ -180,7 +180,7 @@ void PointExtractor::threshold_image(const cv::Mat& frame_gray, cv::Mat1b& outpu
const f radius = (f) threshold_radius_value(frame_gray.cols, frame_gray.rows, threshold_slider_value);
- auto ptr = (float const* const restrict_ptr) hist.ptr(0);
+ float const* const restrict_ptr ptr = (float*) hist.ptr(0);
const unsigned area = uround(3 * M_PI * radius*radius);
const unsigned sz = unsigned(hist.cols * hist.rows);
unsigned thres = 32;