summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-12-28 05:48:34 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-12-28 05:48:34 +0100
commitd65cf74ce47e66dba1c58212e1aadce07a6ca5cf (patch)
tree78d0799a3842fc3b8a14901e21469a39ade3aeac
parent5df8a8cc2869b0eab009841a684b6ee0d4ca390e (diff)
remove redundant cast
-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);
}