diff c/Parameters.cpp @ 418:ca5784652d57

updated use of calcOpticalFlowPyrLK for new signature, added minEigThreshold parameter in configuration file
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 03 Oct 2013 17:43:15 -0400
parents c389fae9689a
children 17c5f378c283
line wrap: on
line diff
--- a/c/Parameters.cpp	Thu Sep 26 17:07:44 2013 -0400
+++ b/c/Parameters.cpp	Thu Oct 03 17:43:15 2013 -0400
@@ -52,6 +52,7 @@
     ("smoothing-halfwidth", po::value<int>(&nFramesSmoothing), "number of frames to smooth positions (half window)")
     ("max-number-iterations", po::value<int>(&maxNumberTrackingIterations), "maximum number of iterations to stop feature tracking")
     ("min-tracking-error", po::value<float>(&minTrackingError), "minimum error to reach to stop feature tracking")
+    ("min-feature-eig-threshold", po::value<float>(&minFeatureEigThreshold)->default_value(1e-4), "minimum eigen value of a 2x2 normal matrix of optical flow equations")
     ("min-feature-time", po::value<unsigned int>(&minFeatureTime), "minimum length of a feature (number of frames) to consider a feature for grouping")
     ("mm-connection-distance", po::value<float>(&mmConnectionDistance), "connection distance in feature grouping")
     ("mm-segmentation-distance", po::value<float>(&mmSegmentationDistance), "segmentation distance in feature grouping")