Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
bde74562
Commit
bde74562
authored
Mar 20, 2012
by
Alexey Spizhevoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated videostab sample
parent
7cabfc54
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
inpainting.cpp
modules/videostab/src/inpainting.cpp
+1
-1
videostab.cpp
samples/cpp/videostab.cpp
+4
-3
No files found.
modules/videostab/src/inpainting.cpp
View file @
bde74562
...
@@ -249,7 +249,7 @@ MotionInpainter::MotionInpainter()
...
@@ -249,7 +249,7 @@ MotionInpainter::MotionInpainter()
#if HAVE_OPENCV_GPU
#if HAVE_OPENCV_GPU
setOptFlowEstimator
(
new
DensePyrLkOptFlowEstimatorGpu
());
setOptFlowEstimator
(
new
DensePyrLkOptFlowEstimatorGpu
());
#else
#else
CV_Error
(
CV_StsNotImplemented
,
"Current implementation of MotionInpainter requires GPU"
);
CV_Error
(
CV_StsNotImplemented
,
"Current implementation of MotionInpainter requires GPU"
);
#endif
#endif
setFlowErrorThreshold
(
1e-4
f
);
setFlowErrorThreshold
(
1e-4
f
);
setBorderMode
(
BORDER_REPLICATE
);
setBorderMode
(
BORDER_REPLICATE
);
...
...
samples/cpp/videostab.cpp
View file @
bde74562
...
@@ -52,8 +52,8 @@ void printHelp()
...
@@ -52,8 +52,8 @@ void printHelp()
" --outlier-ratio=<float_number>
\n
"
" --outlier-ratio=<float_number>
\n
"
" Outliers ratio in motion estimation. The default is 0.5.
\n
"
" Outliers ratio in motion estimation. The default is 0.5.
\n
"
" --min-inlier-ratio=<float_number>
\n
"
" --min-inlier-ratio=<float_number>
\n
"
" Minimum inlier ratio to decide if esti
am
ted motion is OK. The default is 0.1,
\n
"
" Minimum inlier ratio to decide if esti
ma
ted motion is OK. The default is 0.1,
\n
"
" but may want to increase it.
\n
"
" but
you
may want to increase it.
\n
"
" -r, --radius=<int_number>
\n
"
" -r, --radius=<int_number>
\n
"
" Set smoothing radius. The default is 15.
\n
"
" Set smoothing radius. The default is 15.
\n
"
" --stdev=<float_number>
\n
"
" --stdev=<float_number>
\n
"
...
@@ -65,7 +65,8 @@ void printHelp()
...
@@ -65,7 +65,8 @@ void printHelp()
" -t, --trim-ratio=<float_number>
\n
"
" -t, --trim-ratio=<float_number>
\n
"
" Set trimming ratio (from 0 to 0.5). The default is 0.
\n
"
" Set trimming ratio (from 0 to 0.5). The default is 0.
\n
"
" --est-trim=(yes|no)
\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
"
" --incl-constr=(yes|no)
\n
"
" Ensure the inclusion constraint is always satisfied. The default is no.
\n
"
" Ensure the inclusion constraint is always satisfied. The default is no.
\n
"
" --border-mode=(replicate|const)
\n
"
" --border-mode=(replicate|const)
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment