summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-26 00:04:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-26 00:04:05 +0200
commit4c0ecfa917bc0a26c29a6b33ad998e1711966107 (patch)
treed3c7ba4c20d5ad752c3a39fc3d26044db4b14be9 /ftnoir_tracker_aruco
parent9195c580050947c845ff29f79a3854acfe41b387 (diff)
ar: gauss kernel 7 -> 5 (callgrind)
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_tracker_aruco')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
index 5de62176..ecfec7d3 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -200,7 +200,7 @@ void Tracker::run()
continue;
color_.copyTo(color);
cv::cvtColor(color, grayscale2, cv::COLOR_BGR2GRAY);
- const int kernel = grayscale2.cols > 480 ? 7 : 5;
+ const int kernel = grayscale2.cols > 480 ? 5 : 3;
int kernel2 = kernel * grayscale2.rows / grayscale2.cols - 1;
if ((kernel2 % 2) == 0)
kernel2++;