Mercurial Hosting > traffic-intelligence
view 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 source
// 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; };