diff include/Parameters.hpp @ 118:b3e3d9f80a6a

added configuration file and parameter structure
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 10 Aug 2011 18:36:05 -0400
parents 824c35230b73
children 45a426552aaa
line wrap: on
line diff
--- a/include/Parameters.hpp	Tue Aug 09 15:10:31 2011 -0400
+++ b/include/Parameters.hpp	Wed Aug 10 18:36:05 2011 -0400
@@ -1,3 +1,34 @@
 // ifdef...
 
 /// \todo Class for parameters, with utilities to save and load from configuration files
+
+struct FeatureTrackingParameters {
+  /// whether to load saved features, or compute them
+  bool loadFeatures;
+
+  std::string videoFilename;
+  int videoFPS;
+  int measurementPrecision;
+  int frame1;
+  int nFrames;
+  // feature tracking
+  int maxNFeatures;
+  float featureQuality;
+  float minFeatureDistanceKLT;
+  int windowSize;
+  int pyramidLevel;
+  int nFramesDisplacement;
+  float minFeatureDisplacement;
+  float accelerationBound;
+  float deviationBound;
+  int nFramesSmoothing;
+  int nFramesVelocity;
+  int maxNumberTrackingIterations;
+  float minTrackingError;
+  int minFeatureTime;
+  float mmConnectionDistance;
+  float mmSegmentationDistance;
+  float maxDistance;
+  float minVelocityCosine;
+  int minNFeaturesPerGroup;
+};