view include/Parameters.hpp @ 120:46b166523bf8

added CMakeLists.txt for feature-based-tracking
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 15 Aug 2011 11:56:34 -0400
parents 45a426552aaa
children 1e68e18b1aa5
line wrap: on
line source

#ifndef PARAMETERS_HPP
#define PARAMETERS_HPP

/// \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;
};

#endif