summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco
diff options
context:
space:
mode:
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 c24c233f..999431a0 100644
--- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
+++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp
@@ -258,7 +258,7 @@ void Tracker::run()
for (int i = 0; i < N_hyst; i++)
for (int y = 0; y < grayscale.rows; y++)
for (int x = 0; x < grayscale.cols; x++)
- hyst.at<float>(y, x) += (float) lasts[i].at<unsigned char>(y, x) * weights[i];
+ hyst.at<float>(y, x) += lasts[i].at<unsigned char>(y, x) * weights[i];
hyst.convertTo(grayscale, CV_8U);
}