diff include/cvutils.hpp @ 481:b6ad86ee7033

implemented smoothing (requires latest trajectory management library version)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 02 Apr 2014 01:45:53 -0400
parents 5eeb3b9fb568
children 17e54690af8a 8ac7f61c6e4f
line wrap: on
line diff
--- a/include/cvutils.hpp	Tue Apr 01 17:42:40 2014 -0400
+++ b/include/cvutils.hpp	Wed Apr 02 01:45:53 2014 -0400
@@ -17,8 +17,8 @@
 /** Loads a cv mat from a text file where the numbers are saved line by line separated by separator */
 cv::Mat loadMat(const std::string& filename, const std::string& separator);
 
-template<typename T> 
-float scalarProduct(const cv::Point_<T>& v1, const cv::Point_<T>& v2) { return v1.x*v2.x+v1.y*v2.y;}
+//template<typename T> 
+//float scalarProduct(const cv::Point_<T>& v1, const cv::Point_<T>& v2) { return v1.x*v2.x+v1.y*v2.y;}
 
 void keyPoints2Points(const std::vector<cv::KeyPoint>& kpts, std::vector<cv::Point2f>& pts, const bool& clearPts = true);