From a6bb6becb0365f2dc79a24d0e3979d42f1496a21 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 8 Jan 2014 19:40:17 +0100 Subject: remove redundant initialization --- ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp index 823c5578..6935dd43 100644 --- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp +++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp @@ -226,10 +226,7 @@ void Tracker::run() intrinsics.at (1, 2) = grayscale.rows/2; cv::Mat dist_coeffs = cv::Mat::zeros(5, 1, CV_32FC1); - - for (int i = 0; i < 5; i++) - dist_coeffs.at(i) = 0; - + std::vector< aruco::Marker > markers; const double size_min = 0.04; -- cgit v1.2.3