From a7f435346c35c33d9c4d52aaec332b7d54d93625 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Tue, 13 Oct 2009 22:29:34 +0000 Subject: added a working Optical Flow with Bloack Matching svn path=/trunk/externals/pdp_opencv/; revision=12590 --- pdp_opencv_threshold-help.pd | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'pdp_opencv_threshold-help.pd') diff --git a/pdp_opencv_threshold-help.pd b/pdp_opencv_threshold-help.pd index 7605121..9d0dbdd 100644 --- a/pdp_opencv_threshold-help.pd +++ b/pdp_opencv_threshold-help.pd @@ -1,4 +1,4 @@ -#N canvas 10 73 1039 729 10; +#N canvas 15 96 1039 729 10; #X obj 11 -57 cnv 15 621 250 empty empty empty 20 12 0 14 -260097 -66577 0; #X obj 251 -17 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 @@ -7,7 +7,7 @@ #X msg 341 37 close; #X obj 271 108 pdp_v4l; #X msg 328 5 open /dev/video0; -#X obj 440 -22 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 +#X obj 440 -22 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 440 5 metro 40; #X msg 521 24 close; @@ -24,7 +24,7 @@ #X msg 41 22 open \$1; #X msg 41 -31 bang; #X msg 75 121 loop \$1; -#X obj 155 121 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +#X obj 155 121 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X obj 155 39 loadbang; #X text 84 -28 playing a video file; @@ -36,26 +36,26 @@ ); #X obj 12 201 cnv 15 621 150 empty empty empty 20 12 0 14 -258113 -66577 0; -#X obj 58 396 pdp_xv; -#X floatatom 174 289 5 0 0 0 - - -; -#X obj 59 316 pdp_opencv_threshold; -#X msg 351 325 mode \$1; -#X floatatom 128 270 5 0 0 0 - - -; -#X text 128 253 Max value used in some modes; -#X msg 328 213 0; -#X msg 349 236 1; -#X msg 372 259 2; -#X msg 396 280 3; -#X msg 423 303 4; -#X text 171 273 threshold value; -#X text 207 290 ( default 50 ); -#X text 402 325 thresholding mode ( default 0 ); +#X obj 39 396 pdp_xv; +#X floatatom 155 289 5 0 0 0 - - -; +#X obj 40 316 pdp_opencv_threshold; +#X msg 332 325 mode \$1; +#X floatatom 109 270 5 0 0 0 - - -; +#X text 109 253 Max value used in some modes; +#X msg 309 213 0; +#X msg 330 236 1; +#X msg 353 259 2; +#X msg 377 280 3; +#X msg 404 303 4; +#X text 152 273 threshold value; +#X text 188 290 ( default 50 ); +#X text 383 325 thresholding mode ( default 0 ); #X text 13 -109 used as a filter to detect bright or dark piksels; -#X text 360 211 pixel >= threshold; -#X text 400 258 pixel >= threshold set to threshold; -#X text 378 235 pixel <= threshold; -#X text 427 279 pixel <= threshold set to 0; -#X text 451 301 pixel >= threshold set to 0; +#X text 341 211 pixel >= threshold; +#X text 381 258 pixel >= threshold set to threshold; +#X text 359 235 pixel <= threshold; +#X text 408 279 pixel <= threshold set to 0; +#X text 432 301 pixel >= threshold set to 0; #X connect 1 0 2 0; #X connect 2 0 4 0; #X connect 3 0 4 0; -- cgit v1.2.1