#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);
" --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"
" -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"