changeset 165:50964af05a80

solved issue with header inclusion
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 29 Sep 2011 03:12:59 -0400
parents 76610dcf3b8d
children 4eb13ed73d84
files c/feature-based-tracking.cpp include/Motion.hpp
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/c/feature-based-tracking.cpp	Wed Sep 28 13:27:20 2011 -0400
+++ b/c/feature-based-tracking.cpp	Thu Sep 29 03:12:59 2011 -0400
@@ -8,9 +8,10 @@
 #include "src/TrajectoryDBAccessBlob.h"
 
 #include "opencv2/core/core.hpp"
+#include "opencv2/imgproc/imgproc.hpp"
+#include "opencv2/video/tracking.hpp"
+#include "opencv2/features2d/features2d.hpp"
 #include "opencv2/highgui/highgui.hpp"
-//#include "opencv2/imgproc/imgproc.hpp"
-#include "opencv2/features2d/features2d.hpp"
 
 #include <boost/shared_ptr.hpp>
 #include <boost/foreach.hpp>
--- a/include/Motion.hpp	Wed Sep 28 13:27:20 2011 -0400
+++ b/include/Motion.hpp	Thu Sep 29 03:12:59 2011 -0400
@@ -32,7 +32,7 @@
 
   void shorten(void);
 
-  void write(TrajectoryDBAccess<cv::Point2f>& trajectoryDB, const string& positionsTableName, const string& velocitiesTableName) const;
+  void write(TrajectoryDBAccess<cv::Point2f>& trajectoryDB, const std::string& positionsTableName, const std::string& velocitiesTableName) const;
 
 #ifdef USE_OPENCV
   void draw(cv::Mat& img, const cv::Mat& homography, const cv::Scalar& color) const;