From 41d0de589bc90029133fdb046645056a6a30511e Mon Sep 17 00:00:00 2001 From: "N.N." Date: Mon, 1 Jun 2009 16:33:57 +0000 Subject: set help patch right svn path=/trunk/externals/pdp_opencv/; revision=11609 --- pdp_opencv_floodfill-help.pd | 190 ++++++++++++++++++++++++++----------------- 1 file changed, 115 insertions(+), 75 deletions(-) (limited to 'pdp_opencv_floodfill-help.pd') diff --git a/pdp_opencv_floodfill-help.pd b/pdp_opencv_floodfill-help.pd index 8aa3a5f..abc21df 100644 --- a/pdp_opencv_floodfill-help.pd +++ b/pdp_opencv_floodfill-help.pd @@ -1,82 +1,122 @@ -#N canvas 461 101 826 623 10; -#X msg 91 -56 open /dev/video0; -#X obj 109 41 pdp_v4l2; -#X obj 104 390 pdp_xv; -#X obj 104 279 pdp_opencv_floodfill; -#X obj 109 -6 metro 40; -#X text 102 489 used in tracking algorithms as an object selector; -#X text 102 502 Written by Lluis Gomez i Bigorda ( lluis@artefacte.org +#N canvas 395 148 826 623 10; +#X text -158 -39 used in tracking algorithms as an object selector +; +#X text -158 -26 Written by Lluis Gomez i Bigorda ( lluis@artefacte.org ); -#X text 102 516 and Yves Degoyon ( ydegoyon@gmail.com ); -#X floatatom 270 240 5 0 0 0 - - -; -#X floatatom 277 260 5 0 0 0 - - -; -#X msg 110 -37 bang; -#X msg 206 -54 open /dev/video0; -#X obj 216 -4 metro 40; -#X msg 217 -35 bang; -#X obj 216 32 pdp_v4l; -#X msg 213 70 mark \$1 \$2; -#X obj 104 417 route press; -#X msg 260 219 color \$1; -#X obj 322 220 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +#X text -158 -12 and Yves Degoyon ( ydegoyon@gmail.com ); +#X text -159 -62 pdp_opencv_floodfill : mark image components with +a specific color; +#X obj -166 18 cnv 15 621 250 empty empty empty 20 12 0 14 -260097 +-66577 0; +#X obj 74 58 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1 +; +#X obj 74 85 metro 40; +#X msg 164 112 close; +#X obj 94 183 pdp_v4l; +#X msg 151 80 open /dev/video0; +#X obj 275 60 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; -#X text 348 218 activate color mode ( default : on ); -#X msg 154 389 cursor 1; -#X msg 249 144 fillcolor 1 255 0 123; -#X text 387 145 fillcolor of nth component ( 1 < n < 10 ); -#X text 226 389 <-- click in the video window on the shape/component +#X obj 275 87 metro 40; +#X msg 356 106 close; +#X msg 352 82 open /dev/video0; +#X obj 295 185 pdp_v4l2; +#X msg 361 161 format \$1; +#X obj 362 139 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -262144 +-1 -1 0; +#X obj -136 233 pdp_qt; +#X obj -103 169 metro 40; +#X msg -103 141 bang; +#X msg -62 141 stop; +#X obj -136 72 openpanel; +#X msg -136 97 open \$1; +#X msg -136 44 bang; +#X msg -102 196 loop \$1; +#X obj -22 196 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 +1; +#X obj -22 114 loadbang; +#X text -93 47 playing a video file; +#X text 104 56 Camera input; +#X obj -166 278 cnv 15 621 350 empty empty empty 20 12 0 14 -258113 +-66577 0; +#X obj -86 641 pdp_xv; +#X obj -78 503 pdp_opencv_floodfill; +#X floatatom 88 464 5 0 0 0 - - -; +#X floatatom 95 484 5 0 0 0 - - -; +#X msg 31 294 mark \$1 \$2; +#X obj -86 668 route press; +#X msg 78 443 color \$1; +#X obj 140 444 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X text 166 442 activate color mode ( default : on ); +#X msg -36 640 cursor 1; +#X msg 67 368 fillcolor 1 255 0 123; +#X text 205 369 fillcolor of nth component ( 1 < n < 10 ); +#X text 36 640 <-- click in the video window on the shape/component you want to mark; -#X text 288 56 mark %x %y : mark a component; -#X text 288 68 ( 0 <= %x <= 1 ); -#X text 289 79 ( 0 <= %y <= 1 ); -#X obj 221 307 route 0 1 2 3 4 5 6 7 8 9; -#X floatatom 222 352 5 0 0 0 - - -; -#X floatatom 258 353 5 0 0 0 - - -; -#X floatatom 294 353 5 0 0 0 - - -; -#X floatatom 330 353 5 0 0 0 - - -; -#X obj 222 330 unpack f f f f; -#X text 224 369 X; -#X text 261 369 Y; -#X text 293 370 Width; -#X text 331 370 Height; -#X msg 228 98 delete 1; -#X msg 242 120 clear; -#X text 288 98 delete a component ( 1 <= index <= 10 ); -#X text 291 120 delete all components; -#X text 380 308 detected components; -#X text 311 239 outbound tolerance ( default 20 ); -#X text 317 259 inbound tolerance ( default 20 ); -#X msg 256 170 connectivty 4; -#X msg 258 193 connectivty 8; -#X text 350 181 set connectivity ( default 4 ); -#X text 101 466 pdp_opencv_floodfill : mark image components with a -specific color; -#X connect 0 0 3 0; -#X connect 1 0 3 0; -#X connect 2 0 16 0; -#X connect 3 0 2 0; -#X connect 3 0 20 0; -#X connect 3 1 27 0; -#X connect 4 0 1 0; -#X connect 8 0 3 1; -#X connect 9 0 3 2; -#X connect 10 0 4 0; +#X text 106 280 mark %x %y : mark a component; +#X text 106 292 ( 0 <= %x <= 1 ); +#X text 107 303 ( 0 <= %y <= 1 ); +#X obj 39 531 route 0 1 2 3 4 5 6 7 8 9; +#X floatatom 40 576 5 0 0 0 - - -; +#X floatatom 76 577 5 0 0 0 - - -; +#X floatatom 112 577 5 0 0 0 - - -; +#X floatatom 148 577 5 0 0 0 - - -; +#X obj 40 554 unpack f f f f; +#X text 42 593 X; +#X text 79 593 Y; +#X text 111 594 Width; +#X text 149 594 Height; +#X msg 46 322 delete 1; +#X msg 60 344 clear; +#X text 106 322 delete a component ( 1 <= index <= 10 ); +#X text 109 344 delete all components; +#X text 198 532 detected components; +#X msg 74 394 connectivty 4; +#X msg 76 417 connectivty 8; +#X text 168 405 set connectivity ( default 4 ); +#X text 129 463 lower tolerance ( default 20 ); +#X text 135 483 upper tolerance ( default 20 ); +#X connect 5 0 6 0; +#X connect 6 0 8 0; +#X connect 7 0 8 0; +#X connect 8 0 31 0; +#X connect 9 0 8 0; +#X connect 10 0 11 0; #X connect 11 0 14 0; #X connect 12 0 14 0; -#X connect 13 0 12 0; -#X connect 14 0 3 0; -#X connect 15 0 3 0; +#X connect 13 0 14 0; +#X connect 14 0 31 0; +#X connect 15 0 14 0; #X connect 16 0 15 0; -#X connect 17 0 3 0; +#X connect 17 0 31 0; #X connect 18 0 17 0; -#X connect 20 0 2 0; -#X connect 21 0 3 0; -#X connect 27 0 32 0; -#X connect 32 0 28 0; -#X connect 32 1 29 0; -#X connect 32 2 30 0; -#X connect 32 3 31 0; -#X connect 37 0 3 0; -#X connect 38 0 3 0; -#X connect 44 0 3 0; -#X connect 45 0 3 0; +#X connect 19 0 18 0; +#X connect 20 0 18 0; +#X connect 21 0 22 0; +#X connect 22 0 17 0; +#X connect 23 0 21 0; +#X connect 24 0 17 0; +#X connect 25 0 24 0; +#X connect 26 0 25 0; +#X connect 26 0 19 0; +#X connect 30 0 35 0; +#X connect 31 0 30 0; +#X connect 31 0 39 0; +#X connect 31 1 46 0; +#X connect 32 0 31 1; +#X connect 33 0 31 2; +#X connect 34 0 31 0; +#X connect 35 0 34 0; +#X connect 36 0 31 0; +#X connect 37 0 36 0; +#X connect 39 0 30 0; +#X connect 40 0 31 0; +#X connect 46 0 51 0; +#X connect 51 0 47 0; +#X connect 51 1 48 0; +#X connect 51 2 49 0; +#X connect 51 3 50 0; +#X connect 56 0 31 0; +#X connect 57 0 31 0; +#X connect 61 0 31 0; +#X connect 62 0 31 0; -- cgit v1.2.1