Mercurial Hosting > traffic-intelligence
comparison c/feature-based-tracking.cpp @ 189:1116f0a1ff31
work on connected components (does not compile)
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Fri, 02 Dec 2011 19:11:53 -0500 |
parents | 1435965d8181 |
children | 0e60a306d324 |
comparison
equal
deleted
inserted
replaced
188:1435965d8181 | 189:1116f0a1ff31 |
---|---|
285 featureGraph.addFeature(ft); | 285 featureGraph.addFeature(ft); |
286 } | 286 } |
287 | 287 |
288 // check for connected components that are old enough (no chance to match with trajectories to be added later | 288 // check for connected components that are old enough (no chance to match with trajectories to be added later |
289 if (frameNum%10 == 0) { | 289 if (frameNum%10 == 0) { |
290 | 290 featureGraph.connectedComponents(frameNum-maxTrajectoryLength+params.minFeatureTime); |
291 } | 291 } |
292 | 292 |
293 cout << featureGraph.informationString() << endl; | 293 cout << featureGraph.informationString() << endl; |
294 } | 294 } |
295 | 295 |