Mercurial > hg > nsaunier > traffic-intelligence
comparison c/Parameters.cpp @ 803:f7cf43b5ad3b dev
work in progress on stabilization
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Wed, 01 Jun 2016 01:55:45 -0400 |
| parents | 045d05cef9d0 |
| children |
comparison
equal
deleted
inserted
replaced
| 802:d3e8dd9f3ca4 | 803:f7cf43b5ad3b |
|---|---|
| 18 ("help,h", "displays this help message") | 18 ("help,h", "displays this help message") |
| 19 ("tf", "tracks features") | 19 ("tf", "tracks features") |
| 20 ("gf", "groups features") | 20 ("gf", "groups features") |
| 21 ("loading-time", "report feature and object loading times") | 21 ("loading-time", "report feature and object loading times") |
| 22 ("config-file", po::value<string>(&configurationFilename), "configuration file") | 22 ("config-file", po::value<string>(&configurationFilename), "configuration file") |
| 23 ("display", po::value<bool>(&display)->default_value(false), "display trajectories on the video") | |
| 23 ; | 24 ; |
| 24 | 25 |
| 25 po::positional_options_description p; | 26 po::positional_options_description p; |
| 26 p.add("config-file", 1); | 27 p.add("config-file", 1); |
| 27 | 28 |
| 34 ("distortion-coefficients", po::value<std::vector<float> >(&distortionCoefficients)->multitoken(), "") | 35 ("distortion-coefficients", po::value<std::vector<float> >(&distortionCoefficients)->multitoken(), "") |
| 35 ("undistorted-size-multiplication", po::value<float>(&undistortedImageMultiplication), "undistorted image multiplication") | 36 ("undistorted-size-multiplication", po::value<float>(&undistortedImageMultiplication), "undistorted image multiplication") |
| 36 ("interpolation-method", po::value<int>(&interpolationMethod), "Interpolation method for remapping image when correcting for distortion: 0 for INTER_NEAREST - a nearest-neighbor interpolation; 1 for INTER_LINEAR - a bilinear interpolation (used by default); 2 for INTER_CUBIC - a bicubic interpolation over 4x4 pixel neighborhood; 3 for INTER_LANCZOS4") | 37 ("interpolation-method", po::value<int>(&interpolationMethod), "Interpolation method for remapping image when correcting for distortion: 0 for INTER_NEAREST - a nearest-neighbor interpolation; 1 for INTER_LINEAR - a bilinear interpolation (used by default); 2 for INTER_CUBIC - a bicubic interpolation over 4x4 pixel neighborhood; 3 for INTER_LANCZOS4") |
| 37 ("mask-filename", po::value<string>(&maskFilename), "filename of the mask image (where features are detected)") | 38 ("mask-filename", po::value<string>(&maskFilename), "filename of the mask image (where features are detected)") |
| 38 ("undistort", po::value<bool>(&undistort), "undistort the video for feature tracking") | 39 ("undistort", po::value<bool>(&undistort), "undistort the video for feature tracking") |
| 39 ("load-features", po::value<bool>(&loadFeatures), "load features from database") | 40 ("stabilize-ransac-reproj-threshold", po::value<float>(&stabilizeRansacReprojThreshold), "threshold the robust RANSAC method to compute the homography with respect to the reference video frame for stabilization") |
| 40 ("display", po::value<bool>(&display), "display trajectories on the video") | 41 ("frame-homography-filename", po::value<string>(&frameHomographyFilename), "filename of the video frame used to compute the homography") |
| 42 ("stabilize", po::value<bool>(&stabilize), "stabilize the video for feature tracking (if slight motion)") | |
| 43 //("load-features", po::value<bool>(&loadFeatures), "load features from database") | |
| 44 //("display", po::value<bool>(&display), "display trajectories on the video") | |
| 41 ("video-fps", po::value<float>(&videoFPS), "original video frame rate") | 45 ("video-fps", po::value<float>(&videoFPS), "original video frame rate") |
| 42 ("frame1", po::value<unsigned int>(&frame1), "first frame to process") | 46 ("frame1", po::value<unsigned int>(&frame1), "first frame to process") |
| 43 ("nframes", po::value<int>(&nFrames), "number of frame to process") | 47 ("nframes", po::value<int>(&nFrames), "number of frame to process") |
| 44 // feature tracking | 48 // feature tracking |
| 45 ("max-nfeatures", po::value<int>(&maxNFeatures), "maximum number of features added at each frame (1000s)") | 49 ("max-nfeatures", po::value<int>(&maxNFeatures), "maximum number of features added at each frame (1000s)") |
