changeset 178:d7df8ecf5ccd

next steps
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 31 Oct 2011 00:35:34 -0400
parents ae2286b1a3fd
children 4f10e97cb677
files c/feature-based-tracking.cpp include/Motion.hpp
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/c/feature-based-tracking.cpp	Sun Oct 30 11:25:51 2011 -0400
+++ b/c/feature-based-tracking.cpp	Mon Oct 31 00:35:34 2011 -0400
@@ -281,7 +281,7 @@
       // boost::shared_ptr<Trajectory<cv::Point2f> > trajectory;
       // success = trajectoryDB->read(trajectory, trajectoryId, "positions"); // velocities
       FeatureTrajectoryPtr ft = FeatureTrajectoryPtr(new FeatureTrajectory(trajectoryId, *trajectoryDB, "positions", "velocities"));
-      stringstream ss;ss << *ft; cout << ss.str() << endl;
+      //stringstream ss;ss << *ft; cout << ss.str() << endl;
     }
 
     // should the trajectory be loaded one by one? yes
--- a/include/Motion.hpp	Sun Oct 30 11:25:51 2011 -0400
+++ b/include/Motion.hpp	Mon Oct 31 00:35:34 2011 -0400
@@ -80,6 +80,9 @@
 public:
   FeatureGraph(float _minDistance, float _maxDistance) : minDistance (_minDistance), maxDistance(_maxDistance) {}
 
+  // add vertex, includes adding links to current vertices
+  // find connected components, check if old enough, if so, remove
+
 protected:
   struct FeatureConnection {
     float minDistance;