Mercurial Hosting > traffic-intelligence
comparison c/feature-based-tracking.cpp @ 234:2d34060db2e9
removed included code that put track feature option always to true
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 05 Jul 2012 23:01:36 -0400 |
parents | 249d65ff6c35 |
children | f21ef87f98f1 |
comparison
equal
deleted
inserted
replaced
233:ab1a11176d7b | 234:2d34060db2e9 |
---|---|
331 } | 331 } |
332 | 332 |
333 int main(int argc, char *argv[]) { | 333 int main(int argc, char *argv[]) { |
334 KLTFeatureTrackingParameters params(argc, argv); | 334 KLTFeatureTrackingParameters params(argc, argv); |
335 cout << params.parameterDescription << endl; | 335 cout << params.parameterDescription << endl; |
336 params.trackFeatures = true; | 336 |
337 if (params.trackFeatures) | 337 if (params.trackFeatures) { |
338 cout << "The program tracks features" << endl; | |
338 trackFeatures(params); | 339 trackFeatures(params); |
339 else if (params.groupFeatures) | 340 } else if (params.groupFeatures) { |
341 cout << "The program groups features" << endl; | |
340 groupFeatures(params); | 342 groupFeatures(params); |
343 } | |
341 | 344 |
342 return 0; | 345 return 0; |
343 } | 346 } |
344 | 347 |
345 /* ------------------ DOCUMENTATION ------------------ */ | 348 /* ------------------ DOCUMENTATION ------------------ */ |