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
ada63d18
Commit
ada63d18
authored
Apr 19, 2012
by
Alexey Spizhevoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated videostab sample
parent
536d36b0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
videostab.cpp
samples/cpp/videostab.cpp
+6
-6
No files found.
samples/cpp/videostab.cpp
View file @
ada63d18
...
...
@@ -66,7 +66,7 @@ void printHelp()
cout
<<
"OpenCV video stabilizer.
\n
"
"Usage: videostab <file_path> [arguments]
\n\n
"
"Arguments:
\n
"
" -m, --model=(transl|transl_and_scale|
linear_sim
|affine|homography)
\n
"
" -m, --model=(transl|transl_and_scale|
similarity
|affine|homography)
\n
"
" Set motion model. The default is affine.
\n
"
" --subset=(<int_number>|auto)
\n
"
" Number of random samples per one motion hypothesis. The default is auto.
\n
"
...
...
@@ -130,7 +130,7 @@ void printHelp()
" Perform wobble suppression. The default is no.
\n
"
" --ws-period=<int_number>
\n
"
" Set wobble suppression period. The default is 30.
\n
"
" --ws-model=(transl|transl_and_scale|
linear_sim
|affine|homography)
\n
"
" --ws-model=(transl|transl_and_scale|
similarity
|affine|homography)
\n
"
" Set wobble suppression motion model (must have more DOF than motion
\n
"
" estimation model). The default is homography.
\n
"
" --ws-subset=(<int_number>|auto)
\n
"
...
...
@@ -281,7 +281,7 @@ int main(int argc, const char **argv)
est
=
new
PyrLkRobustMotionEstimator
(
MM_TRANSLATION
);
else
if
(
arg
(
"ws-model"
)
==
"transl_and_scale"
)
est
=
new
PyrLkRobustMotionEstimator
(
MM_TRANSLATION_AND_SCALE
);
else
if
(
arg
(
"ws-model"
)
==
"
linear_sim
"
)
else
if
(
arg
(
"ws-model"
)
==
"
similarity
"
)
est
=
new
PyrLkRobustMotionEstimator
(
MM_SIMILARITY
);
else
if
(
arg
(
"ws-model"
)
==
"affine"
)
est
=
new
PyrLkRobustMotionEstimator
(
MM_AFFINE
);
...
...
@@ -314,7 +314,7 @@ int main(int argc, const char **argv)
est
=
new
PyrLkRobustMotionEstimatorGpu
(
MM_TRANSLATION
);
else
if
(
arg
(
"ws-model"
)
==
"transl_and_scale"
)
est
=
new
PyrLkRobustMotionEstimatorGpu
(
MM_TRANSLATION_AND_SCALE
);
else
if
(
arg
(
"ws-model"
)
==
"
linear_sim
"
)
else
if
(
arg
(
"ws-model"
)
==
"
similarity
"
)
est
=
new
PyrLkRobustMotionEstimatorGpu
(
MM_SIMILARITY
);
else
if
(
arg
(
"ws-model"
)
==
"affine"
)
est
=
new
PyrLkRobustMotionEstimatorGpu
(
MM_AFFINE
);
...
...
@@ -377,7 +377,7 @@ int main(int argc, const char **argv)
est
=
new
PyrLkRobustMotionEstimator
(
MM_TRANSLATION
);
else
if
(
arg
(
"model"
)
==
"transl_and_scale"
)
est
=
new
PyrLkRobustMotionEstimator
(
MM_TRANSLATION_AND_SCALE
);
else
if
(
arg
(
"model"
)
==
"
linear_sim
"
)
else
if
(
arg
(
"model"
)
==
"
similarity
"
)
est
=
new
PyrLkRobustMotionEstimator
(
MM_SIMILARITY
);
else
if
(
arg
(
"model"
)
==
"affine"
)
est
=
new
PyrLkRobustMotionEstimator
(
MM_AFFINE
);
...
...
@@ -409,7 +409,7 @@ int main(int argc, const char **argv)
est
=
new
PyrLkRobustMotionEstimatorGpu
(
MM_TRANSLATION
);
else
if
(
arg
(
"ws-model"
)
==
"transl_and_scale"
)
est
=
new
PyrLkRobustMotionEstimatorGpu
(
MM_TRANSLATION_AND_SCALE
);
else
if
(
arg
(
"ws-model"
)
==
"
linear_sim
"
)
else
if
(
arg
(
"ws-model"
)
==
"
similarity
"
)
est
=
new
PyrLkRobustMotionEstimatorGpu
(
MM_SIMILARITY
);
else
if
(
arg
(
"ws-model"
)
==
"affine"
)
est
=
new
PyrLkRobustMotionEstimatorGpu
(
MM_AFFINE
);
...
...
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