Mercurial > hg > nsaunier > traffic-intelligence
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 117:fea680fb03ee | 118:b3e3d9f80a6a |
|---|---|
| 1 // ifdef... | 1 // ifdef... |
| 2 | 2 |
| 3 /// \todo Class for parameters, with utilities to save and load from configuration files | 3 /// \todo Class for parameters, with utilities to save and load from configuration files |
| 4 | |
| 5 struct FeatureTrackingParameters { | |
| 6 /// whether to load saved features, or compute them | |
| 7 bool loadFeatures; | |
| 8 | |
| 9 std::string videoFilename; | |
| 10 int videoFPS; | |
| 11 int measurementPrecision; | |
| 12 int frame1; | |
| 13 int nFrames; | |
| 14 // feature tracking | |
| 15 int maxNFeatures; | |
| 16 float featureQuality; | |
| 17 float minFeatureDistanceKLT; | |
| 18 int windowSize; | |
| 19 int pyramidLevel; | |
| 20 int nFramesDisplacement; | |
| 21 float minFeatureDisplacement; | |
| 22 float accelerationBound; | |
| 23 float deviationBound; | |
| 24 int nFramesSmoothing; | |
| 25 int nFramesVelocity; | |
| 26 int maxNumberTrackingIterations; | |
| 27 float minTrackingError; | |
| 28 int minFeatureTime; | |
| 29 float mmConnectionDistance; | |
| 30 float mmSegmentationDistance; | |
| 31 float maxDistance; | |
| 32 float minVelocityCosine; | |
| 33 int minNFeaturesPerGroup; | |
| 34 }; |
