changeset 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 ab1a11176d7b
children 584613399513
files c/feature-based-tracking.cpp
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/c/feature-based-tracking.cpp	Wed Jul 04 16:02:00 2012 -0400
+++ b/c/feature-based-tracking.cpp	Thu Jul 05 23:01:36 2012 -0400
@@ -333,11 +333,14 @@
 int main(int argc, char *argv[]) {
   KLTFeatureTrackingParameters params(argc, argv);
   cout << params.parameterDescription << endl;
-  params.trackFeatures = true;
-  if (params.trackFeatures)
+
+  if (params.trackFeatures) {
+    cout << "The program tracks features" << endl;
     trackFeatures(params);
-  else if (params.groupFeatures)
+  } else if (params.groupFeatures) {
+    cout << "The program groups features" << endl;
     groupFeatures(params);
+  }
 
   return 0;
 }