add new version of CommandLineParser. add empty docs
This commit is contained in:
@@ -281,56 +281,56 @@ int main(int argc, const char **argv)
|
||||
try
|
||||
{
|
||||
const char *keys =
|
||||
"{ 1 | | | | }"
|
||||
"{ m | model | affine | }"
|
||||
"{ lp | lin-prog-motion-est | no | }"
|
||||
"{ | subset | auto | }"
|
||||
"{ | thresh | auto | }"
|
||||
"{ | outlier-ratio | 0.5 | }"
|
||||
"{ | min-inlier-ratio | 0.1 | }"
|
||||
"{ | nkps | 1000 | }"
|
||||
"{ | extra-kps | 0 | }"
|
||||
"{ | local-outlier-rejection | no | }"
|
||||
"{ sm | save-motions | no | }"
|
||||
"{ lm | load-motions | no | }"
|
||||
"{ r | radius | 15 | }"
|
||||
"{ | stdev | auto | }"
|
||||
"{ lps | lin-prog-stab | no | }"
|
||||
"{ | lps-trim-ratio | auto | }"
|
||||
"{ | lps-w1 | 1 | }"
|
||||
"{ | lps-w2 | 10 | }"
|
||||
"{ | lps-w3 | 100 | }"
|
||||
"{ | lps-w4 | 100 | }"
|
||||
"{ | deblur | no | }"
|
||||
"{ | deblur-sens | 0.1 | }"
|
||||
"{ et | est-trim | yes | }"
|
||||
"{ t | trim-ratio | 0.1 | }"
|
||||
"{ ic | incl-constr | no | }"
|
||||
"{ bm | border-mode | replicate | }"
|
||||
"{ | mosaic | no | }"
|
||||
"{ ms | mosaic-stdev | 10.0 | }"
|
||||
"{ mi | motion-inpaint | no | }"
|
||||
"{ | mi-dist-thresh | 5.0 | }"
|
||||
"{ ci | color-inpaint | no | }"
|
||||
"{ | ci-radius | 2 | }"
|
||||
"{ ws | wobble-suppress | no | }"
|
||||
"{ | ws-period | 30 | }"
|
||||
"{ | ws-model | homography | }"
|
||||
"{ | ws-subset | auto | }"
|
||||
"{ | ws-thresh | auto | }"
|
||||
"{ | ws-outlier-ratio | 0.5 | }"
|
||||
"{ | ws-min-inlier-ratio | 0.1 | }"
|
||||
"{ | ws-nkps | 1000 | }"
|
||||
"{ | ws-extra-kps | 0 | }"
|
||||
"{ | ws-local-outlier-rejection | no | }"
|
||||
"{ | ws-lp | no | }"
|
||||
"{ sm2 | save-motions2 | no | }"
|
||||
"{ lm2 | load-motions2 | no | }"
|
||||
"{ gpu | | no }"
|
||||
"{ o | output | stabilized.avi | }"
|
||||
"{ | fps | auto | }"
|
||||
"{ q | quiet | false | }"
|
||||
"{ h | help | false | }";
|
||||
"{ @1 | | }"
|
||||
"{ m model | affine | }"
|
||||
"{ lp lin-prog-motion-est | no | }"
|
||||
"{ subset | auto | }"
|
||||
"{ thresh | auto | }"
|
||||
"{ outlier-ratio | 0.5 | }"
|
||||
"{ min-inlier-ratio | 0.1 | }"
|
||||
"{ nkps | 1000 | }"
|
||||
"{ extra-kps | 0 | }"
|
||||
"{ local-outlier-rejection | no | }"
|
||||
"{ sm save-motions | no | }"
|
||||
"{ lm load-motions | no | }"
|
||||
"{ r radius | 15 | }"
|
||||
"{ stdev | auto | }"
|
||||
"{ lps lin-prog-stab | no | }"
|
||||
"{ lps-trim-ratio | auto | }"
|
||||
"{ lps-w1 | 1 | }"
|
||||
"{ lps-w2 | 10 | }"
|
||||
"{ lps-w3 | 100 | }"
|
||||
"{ lps-w4 | 100 | }"
|
||||
"{ deblur | no | }"
|
||||
"{ deblur-sens | 0.1 | }"
|
||||
"{ et est-trim | yes | }"
|
||||
"{ t trim-ratio | 0.1 | }"
|
||||
"{ ic incl-constr | no | }"
|
||||
"{ bm border-mode | replicate | }"
|
||||
"{ mosaic | no | }"
|
||||
"{ ms mosaic-stdev | 10.0 | }"
|
||||
"{ mi motion-inpaint | no | }"
|
||||
"{ mi-dist-thresh | 5.0 | }"
|
||||
"{ ci color-inpaint | no | }"
|
||||
"{ ci-radius | 2 | }"
|
||||
"{ ws wobble-suppress | no | }"
|
||||
"{ ws-period | 30 | }"
|
||||
"{ ws-model | homography | }"
|
||||
"{ ws-subset | auto | }"
|
||||
"{ ws-thresh | auto | }"
|
||||
"{ ws-outlier-ratio | 0.5 | }"
|
||||
"{ ws-min-inlier-ratio | 0.1 | }"
|
||||
"{ ws-nkps | 1000 | }"
|
||||
"{ ws-extra-kps | 0 | }"
|
||||
"{ ws-local-outlier-rejection | no | }"
|
||||
"{ ws-lp | no | }"
|
||||
"{ sm2 save-motions2 | no | }"
|
||||
"{ lm2 load-motions2 | no | }"
|
||||
"{ gpu | no | }"
|
||||
"{ o output | stabilized.avi | }"
|
||||
"{ fps | auto | }"
|
||||
"{ q quiet | | }"
|
||||
"{ h help | | }";
|
||||
CommandLineParser cmd(argc, argv, keys);
|
||||
|
||||
// parse command arguments
|
||||
|
Reference in New Issue
Block a user