summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-29 09:21:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-10-29 09:41:23 +0100
commit33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 (patch)
tree7deb1be34f9d7ecfca3bd22da6bf722ee19b5f4f /tracker-aruco
parent29bf7f94eab413e25914c3939d7ff19ef0cd4c48 (diff)
static constexpr -> constexpr
Diffstat (limited to 'tracker-aruco')
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index 2842a9c2..90531736 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -241,7 +241,7 @@ void aruco_tracker::set_points()
using f = float;
const f hx = f(s.headpos_x), hy = f(s.headpos_y), hz = f(s.headpos_z);
- static constexpr float size = 40;
+ constexpr float size = 40;
const int x1=1, x2=2, x3=3, x4=0;
@@ -386,7 +386,7 @@ void aruco_tracker::run()
#ifdef DEBUG_UNSHARP_MASKING
{
- static constexpr double strength = double(DEBUG_UNSHARP_MASKING);
+ constexpr double strength = double(DEBUG_UNSHARP_MASKING);
cv::GaussianBlur(grayscale, blurred, cv::Size(0, 0), gauss_kernel_size);
cv::addWeighted(grayscale, 1 + strength, blurred, -strength, 0, grayscale);
cv::imshow("capture", grayscale);