comparison c/Parameters.cpp @ 278:f21ef87f98f1

resolved issue 2 and problem with negative nframes parameter
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 14 Dec 2012 01:01:55 -0500
parents 249d65ff6c35
children c64a4f889b97
comparison
equal deleted inserted replaced
277:21f14fadd098 278:f21ef87f98f1
32 ("mask-filename", po::value<string>(&maskFilename), "filename of the mask image (where features are detected)") 32 ("mask-filename", po::value<string>(&maskFilename), "filename of the mask image (where features are detected)")
33 ("load-features", po::value<bool>(&loadFeatures), "load features from database") 33 ("load-features", po::value<bool>(&loadFeatures), "load features from database")
34 ("display", po::value<bool>(&display), "display trajectories on the video") 34 ("display", po::value<bool>(&display), "display trajectories on the video")
35 ("video-fps", po::value<float>(&videoFPS), "original video frame rate") 35 ("video-fps", po::value<float>(&videoFPS), "original video frame rate")
36 ("frame1", po::value<unsigned int>(&frame1), "first frame to process") 36 ("frame1", po::value<unsigned int>(&frame1), "first frame to process")
37 ("nframes", po::value<unsigned int>(&nFrames), "number of frame to process") 37 ("nframes", po::value<int>(&nFrames), "number of frame to process")
38 // feature tracking 38 // feature tracking
39 ("max-nfeatures", po::value<int>(&maxNFeatures), "maximum number of features added at each frame") 39 ("max-nfeatures", po::value<int>(&maxNFeatures), "maximum number of features added at each frame")
40 ("feature-quality", po::value<float>(&featureQuality), "quality level of the good features to track") 40 ("feature-quality", po::value<float>(&featureQuality), "quality level of the good features to track")
41 ("min-feature-distanceklt", po::value<float>(&minFeatureDistanceKLT), "minimum distance between features") 41 ("min-feature-distanceklt", po::value<float>(&minFeatureDistanceKLT), "minimum distance between features")
42 ("window-size", po::value<int>(&windowSize), "size of the search window at each pyramid level") 42 ("window-size", po::value<int>(&windowSize), "size of the search window at each pyramid level")