From 6fd1ac37999d856979dad2b9a863b69f42689646 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Thu, 2 Jul 2009 15:55:46 +0000 Subject: update little details svn path=/trunk/externals/pix_opencv/; revision=11842 --- pix_opencv_motempl-help.pd | 187 ++++++++++++++++++++++++--------------------- 1 file changed, 98 insertions(+), 89 deletions(-) (limited to 'pix_opencv_motempl-help.pd') diff --git a/pix_opencv_motempl-help.pd b/pix_opencv_motempl-help.pd index 9652bb5..cfd1bbf 100644 --- a/pix_opencv_motempl-help.pd +++ b/pix_opencv_motempl-help.pd @@ -1,8 +1,8 @@ -#N canvas 512 26 691 638 10; -#X obj 286 -33 gemhead; +#N canvas 1 49 1424 780 10; +#X obj 398 31 gemhead; #X obj 373 555 pix_texture; #X obj 373 583 square 2; -#X obj 20 159 cnv 15 220 70 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 37 457 cnv 15 220 70 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 22 454 304 gemwin 0; #X obj 132 136 gemwin; @@ -30,33 +30,31 @@ #X connect 6 0 0 0; #X connect 7 0 0 0; #X connect 8 0 0 0; -#X restore 25 203 pd gemwin; -#X msg 25 179 destroy; -#X text 21 159 Create window and render; -#X text 64 81 greys out all pixels (but pixel-values are still in RGBA) -; +#X restore 42 501 pd gemwin; +#X msg 42 477 destroy; +#X text 38 457 Create window and render; #X obj 200 368 pix_texture; #X obj 200 396 square 2; #X obj 266 167 translateXYZ -2 0 0; #X obj 364 205 separator; -#X obj 342 269 cnv 15 357 251 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 342 269 cnv 15 550 251 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 511 -66 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 474 -37 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X obj 524 128 unpack 0 0 0; -#X floatatom 514 151 5 0 0 3 length - -; -#X floatatom 563 151 5 0 0 3 width - -; -#X floatatom 613 151 5 0 0 3 height - -; -#X obj 568 109 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144 +#X obj 487 157 unpack 0 0 0; +#X floatatom 477 180 5 0 0 3 length - -; +#X floatatom 526 180 5 0 0 3 width - -; +#X floatatom 576 180 5 0 0 3 height - -; +#X obj 531 138 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144 -1 -1; -#X floatatom 550 74 5 0 10000 1 frame# - -; -#X obj 511 -37 openpanel; -#X msg 511 -17 open \$1; -#X obj 499 92 pix_film; -#X msg 517 26 auto \$1; -#X obj 517 8 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +#X floatatom 513 103 5 0 10000 1 frame# - -; +#X obj 474 -8 openpanel; +#X msg 474 12 open \$1; +#X obj 462 121 pix_film; +#X msg 480 55 auto \$1; +#X obj 480 37 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; -#X msg 528 50 colorspace Grey; +#X msg 491 79 colorspace Grey; #X obj 361 240 translateXYZ 4 0 0; #X obj 504 533 route -1 0 1 2 3 4; #X floatatom 507 613 5 0 0 0 - - -; @@ -82,78 +80,89 @@ #X text 701 610 Xcenter Ycenter Width Height Angle; #X text 722 661 Xcenter Ycenter Width Height Angle; #X text 769 717 Xcenter Ycenter Width Height Angle; -#X floatatom 496 423 5 0 0 0 - - -; -#X floatatom 557 385 5 0 0 0 - - -; -#X text 536 425 Threshold value. (default 30); -#X text 599 384 Maximal duration of motion track in seconds. (default -1); -#X text 561 403 xxx; -#X msg 441 383 mhi_duration \$1; -#X floatatom 597 297 5 0 0 0 - - -; -#X msg 442 295 max_time_delta \$1; -#X floatatom 597 320 5 0 0 0 - - -; -#X msg 442 318 min_time_delta \$1; -#X floatatom 596 349 5 0 0 0 - - -; -#X msg 441 347 frame_buffer_num \$1; -#X floatatom 523 441 5 0 0 0 - - -; -#X floatatom 534 460 5 0 0 0 - - -; -#X text 574 462 Max size of the motion component (default 500); -#X text 564 441 Min size of the motion component (default 50); -#X text 638 348 Number of frames in the buffer. (default 4); -#X text 639 296 Max time delta in seconds. (default 0.5); -#X text 639 319 Min time delta in seconds. (default 0.05); +#X floatatom 487 393 5 0 0 0 - - -; +#X floatatom 520 367 5 0 0 0 - - -; +#X text 527 395 Threshold value. (default 30); +#X msg 415 366 mhi_duration \$1; +#X floatatom 508 296 5 0 0 0 - - -; +#X msg 393 295 max_time_delta \$1; +#X floatatom 517 320 5 0 0 0 - - -; +#X msg 400 317 min_time_delta \$1; +#X floatatom 541 344 5 0 0 0 - - -; +#X msg 410 341 frame_buffer_num \$1; +#X floatatom 514 411 5 0 0 0 - - -; +#X floatatom 525 430 5 0 0 0 - - -; +#X text 565 432 Max size of the motion component (default 500); +#X text 555 411 Min size of the motion component (default 50); +#X text 578 342 Number of frames in the buffer. (default 4); +#X text 547 294 Max time delta in seconds. (default 0.5); +#X text 558 319 Min time delta in seconds. (default 0.05); #X obj 371 466 pix_opencv_motempl; -#X connect 0 0 22 0; +#X msg 374 274 aperture \$1; +#X text 550 275 aperture ( 3 \, 5 or 7 \, default 3 ); +#X msg 454 274 3; +#X msg 487 274 5; +#X msg 518 274 7; +#X text 557 368 Maximal duration of motion track in seconds; +#X text 24 88 written by Lluis Gomez i Bigorda ( lluisgomez@hangar.org +); +#X text 26 64 pix_opencv_motempl : opencv motion detection based on +movement history; +#X connect 0 0 21 0; #X connect 1 0 2 0; #X connect 4 0 5 0; #X connect 5 0 4 0; -#X connect 8 0 9 0; -#X connect 10 0 8 0; -#X connect 10 0 11 0; -#X connect 11 0 26 0; -#X connect 13 0 20 0; -#X connect 14 0 15 0; -#X connect 14 1 16 0; -#X connect 14 2 17 0; -#X connect 18 0 19 0; -#X connect 19 0 22 1; +#X connect 7 0 8 0; +#X connect 9 0 7 0; +#X connect 9 0 10 0; +#X connect 10 0 25 0; +#X connect 12 0 19 0; +#X connect 13 0 14 0; +#X connect 13 1 15 0; +#X connect 13 2 16 0; +#X connect 17 0 18 0; +#X connect 18 0 21 1; +#X connect 19 0 20 0; #X connect 20 0 21 0; -#X connect 21 0 22 0; -#X connect 22 0 10 0; -#X connect 22 1 14 0; -#X connect 22 2 18 0; +#X connect 21 0 9 0; +#X connect 21 1 13 0; +#X connect 21 2 17 0; +#X connect 22 0 21 0; #X connect 23 0 22 0; -#X connect 24 0 23 0; -#X connect 25 0 22 0; -#X connect 26 0 70 0; -#X connect 27 0 40 0; -#X connect 27 1 41 0; -#X connect 27 2 42 0; -#X connect 40 0 28 0; -#X connect 40 1 29 0; -#X connect 40 2 30 0; -#X connect 40 3 31 0; +#X connect 24 0 21 0; +#X connect 25 0 67 0; +#X connect 26 0 39 0; +#X connect 26 1 40 0; +#X connect 26 2 41 0; +#X connect 39 0 27 0; +#X connect 39 1 28 0; +#X connect 39 2 29 0; +#X connect 39 3 30 0; +#X connect 39 4 42 0; +#X connect 40 0 31 0; +#X connect 40 1 32 0; +#X connect 40 2 33 0; +#X connect 40 3 34 0; #X connect 40 4 43 0; -#X connect 41 0 32 0; -#X connect 41 1 33 0; -#X connect 41 2 34 0; -#X connect 41 3 35 0; +#X connect 41 0 35 0; +#X connect 41 1 36 0; +#X connect 41 2 37 0; +#X connect 41 3 38 0; #X connect 41 4 44 0; -#X connect 42 0 36 0; -#X connect 42 1 37 0; -#X connect 42 2 38 0; -#X connect 42 3 39 0; -#X connect 42 4 45 0; -#X connect 51 0 70 1; -#X connect 52 0 56 0; -#X connect 56 0 70 0; -#X connect 57 0 58 0; -#X connect 58 0 70 0; -#X connect 59 0 60 0; -#X connect 60 0 70 0; -#X connect 61 0 62 0; -#X connect 62 0 70 0; -#X connect 63 0 70 2; -#X connect 64 0 70 3; -#X connect 70 0 1 0; -#X connect 70 1 27 0; +#X connect 50 0 67 1; +#X connect 51 0 53 0; +#X connect 53 0 67 0; +#X connect 54 0 55 0; +#X connect 55 0 67 0; +#X connect 56 0 57 0; +#X connect 57 0 67 0; +#X connect 58 0 59 0; +#X connect 59 0 67 0; +#X connect 60 0 67 2; +#X connect 61 0 67 3; +#X connect 67 0 1 0; +#X connect 67 1 26 0; +#X connect 68 0 67 0; +#X connect 70 0 68 0; +#X connect 71 0 68 0; +#X connect 72 0 68 0; -- cgit v1.2.1