Updated videostab sample
authorAlexey Spizhevoy <no@email>
Tue, 20 Mar 2012 06:52:52 +0000 (06:52 +0000)
committerAlexey Spizhevoy <no@email>
Tue, 20 Mar 2012 06:52:52 +0000 (06:52 +0000)
modules/videostab/src/inpainting.cpp
samples/cpp/videostab.cpp

index 9b6a500..db12cb3 100644 (file)
@@ -249,7 +249,7 @@ MotionInpainter::MotionInpainter()
 #if HAVE_OPENCV_GPU
     setOptFlowEstimator(new DensePyrLkOptFlowEstimatorGpu());
 #else
-    CV_Error( CV_StsNotImplemented, "Current implementation of MotionInpainter requires GPU" );
+    CV_Error(CV_StsNotImplemented, "Current implementation of MotionInpainter requires GPU");
 #endif
     setFlowErrorThreshold(1e-4f);
     setBorderMode(BORDER_REPLICATE);
index 49d8d81..cd26f7d 100644 (file)
@@ -52,8 +52,8 @@ void printHelp()
             "  --outlier-ratio=<float_number>\n"
             "      Outliers ratio in motion estimation. The default is 0.5.\n"
             "  --min-inlier-ratio=<float_number>\n"
-            "      Minimum inlier ratio to decide if estiamted motion is OK. The default is 0.1,\n"
-            "      but may want to increase it.\n"
+            "      Minimum inlier ratio to decide if estimated motion is OK. The default is 0.1,\n"
+            "      but you may want to increase it.\n"
             "  -r, --radius=<int_number>\n"
             "      Set smoothing radius. The default is 15.\n"
             "  --stdev=<float_number>\n"
@@ -65,7 +65,8 @@ void printHelp()
             "  -t, --trim-ratio=<float_number>\n"
             "      Set trimming ratio (from 0 to 0.5). The default is 0.\n"
             "  --est-trim=(yes|no)\n"
-            "      Estimate trim ratio automatically. The default is yes.\n"
+            "      Estimate trim ratio automatically. The default is yes (that leads to two passes,\n"
+            "      you can turn it off if you want to use one pass only).\n"
             "  --incl-constr=(yes|no)\n"
             "      Ensure the inclusion constraint is always satisfied. The default is no.\n"
             "  --border-mode=(replicate|const)\n"