diff options
Diffstat (limited to 'doc/pdp_binary-help.pd')
-rw-r--r-- | doc/pdp_binary-help.pd | 270 |
1 files changed, 215 insertions, 55 deletions
diff --git a/doc/pdp_binary-help.pd b/doc/pdp_binary-help.pd index f74c13c..58b062d 100644 --- a/doc/pdp_binary-help.pd +++ b/doc/pdp_binary-help.pd @@ -1,97 +1,257 @@ -#N canvas 416 0 781 666 10; +#N canvas 76 103 922 722 10; #X obj 342 90 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 197 162 loop \$1; -#X obj 198 140 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 +#X obj 198 140 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 1; #X msg 444 70 open \$1; #X obj 443 46 openpanel; #X obj 428 29 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; -#X floatatom 390 125 5 0 0 0 - - -; +#X floatatom 431 145 5 0 0 0 - - -; #X msg 299 91 stop; -#X obj 397 94 hsl 300 15 0 1000 0 0 empty empty empty -2 -6 0 8 -262144 +#X obj 440 116 hsl 300 15 0 5000 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 331 161 metro 70; #X obj 326 193 pdp_yqt; -#X obj 26 263 pdp_v4l; -#X obj 35 232 metro 70; -#X obj 80 198 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 +#X obj 55 105 pdp_v4l; +#X obj 64 74 metro 70; +#X obj 109 40 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; -#X msg 37 199 stop; -#X msg 122 230 open /dev/video; -#X floatatom 303 338 5 0 0 0 - - -; -#X floatatom 312 359 5 0 0 0 - - -; -#X floatatom 329 380 5 0 0 0 - - -; -#X floatatom 334 402 5 0 0 0 - - -; -#X text 296 631 written by Yves Degoyon ( ydegoyon@free.fr ); -#X floatatom 343 427 5 0 0 0 - - -; -#X text 382 401 X coordinate of cursor ( pick ); -#X text 391 426 Y coordinate of cursor ( pick ); -#X msg 89 341 pick; -#X text 57 323 Pick up the color; -#X floatatom 356 450 5 0 0 0 - - -; +#X msg 66 41 stop; +#X msg 151 72 open /dev/video; +#X floatatom 313 407 5 0 0 0 - - -; +#X floatatom 322 428 5 0 0 0 - - -; +#X floatatom 339 449 5 0 0 0 - - -; +#X floatatom 282 332 5 0 0 0 - - -; +#X text 70 697 written by Yves Degoyon ( ydegoyon@free.fr ); +#X floatatom 291 357 5 0 0 0 - - -; +#X msg 133 382 pick; +#X text 134 399 Pick up the color; +#X floatatom 304 380 5 0 0 0 - - -; #X obj 594 197 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 594 249 pdp_control; #X msg 594 222 thread \$1; #X floatatom 594 310 5 0 0 0 - - -; #X obj 594 281 route pdp_drop; -#X msg 118 379 setcur \$1 \$2; -#X text 6 378 Set the cursor; +#X text 187 291 Set the cursor; #X floatatom 155 524 5 0 0 0 - - -; #X floatatom 205 525 5 0 0 0 - - -; #X floatatom 252 524 5 0 0 0 - - -; -#X text 297 614 pdp_binary : image binarizer; -#X text 122 554 Components of selected color; +#X text 71 680 pdp_binary : image binarizer; +#X text 295 522 Components of selected color; #X text 167 542 Y; #X text 218 542 U; #X text 262 542 V; -#X text 402 449 Tolerance ( default = 55 ); -#X text 350 337 Y component ( default : 200 ); -#X text 357 358 U component ( default : -1 ); -#X text 374 379 V component ( default : -1 ); +#X text 350 379 Tolerance ( default = 55 ); +#X text 408 404 Y component ( default : 200 ); #X obj 110 459 pdp_binary ----; -#X obj 312 264 pdp_glx; #X obj 311 290 route press drag release; #X msg 335 234 cursor 1; -#X obj 78 504 pdp_glx; +#X obj 575 609 unpack f f f; +#X obj 356 404 r y; +#X obj 362 426 r u; +#X obj 382 449 r v; +#X obj 573 636 s y; +#X obj 615 662 s u; +#X obj 652 661 s v; +#X obj 571 475 pdp_colorgrid pdp_colorgrid1 256 0 256 50 0 50 0 1 1 +10 10 647 500; +#X obj 574 557 pack f f f; +#X obj 134 359 del 100; +#X msg 135 321 bang; +#X msg 102 289 setcur \$1 \$2; +#X text 331 331 set X coordinate of cursor; +#X text 339 356 set Y coordinate of cursor; +#X text 418 426 U component ( default : -1 = ignore ); +#X text 432 446 V component ( default : -1 = ignore ); +#N canvas 5 49 450 300 rgb2yuv 0; +#N canvas 286 158 450 300 rgb2y 0; +#X obj 82 57 inlet; +#X obj 82 236 outlet; +#X obj 82 119 * 65.738; +#X obj 143 120 * 129.075; +#X obj 215 119 * 25.064; +#X obj 82 142 +; +#X obj 82 164 +; +#X obj 82 207 + 16; +#X obj 82 186 / 256; +#X obj 143 57 inlet; +#X obj 215 57 inlet; +#X connect 0 0 2 0; +#X connect 2 0 5 0; +#X connect 3 0 5 1; +#X connect 4 0 6 1; +#X connect 5 0 6 0; +#X connect 6 0 8 0; +#X connect 7 0 1 0; +#X connect 8 0 7 0; +#X connect 9 0 3 0; +#X connect 10 0 4 0; +#X restore 103 206 pd rgb2y; +#N canvas 286 158 450 300 rgb2u 0; +#X obj 82 57 inlet; +#X obj 82 236 outlet; +#X obj 82 142 +; +#X obj 82 164 +; +#X obj 82 186 / 256; +#X obj 82 119 * -37.945; +#X obj 143 120 * -74.494; +#X obj 215 119 * 112.439; +#X obj 82 207 + 128; +#X obj 143 57 inlet; +#X obj 215 57 inlet; +#X connect 0 0 5 0; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 4 0 8 0; +#X connect 5 0 2 0; +#X connect 6 0 2 1; +#X connect 7 0 3 1; +#X connect 8 0 1 0; +#X connect 9 0 6 0; +#X connect 10 0 7 0; +#X restore 163 206 pd rgb2u; +#N canvas 286 158 450 300 rgb2v 0; +#X obj 82 57 inlet; +#X obj 82 236 outlet; +#X obj 82 142 +; +#X obj 82 164 +; +#X obj 82 186 / 256; +#X obj 82 207 + 128; +#X obj 82 119 * 112.439; +#X obj 143 120 * -94.154; +#X obj 215 119 * -18.285; +#X obj 143 57 inlet; +#X obj 215 57 inlet; +#X connect 0 0 6 0; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 4 0 5 0; +#X connect 5 0 1 0; +#X connect 6 0 2 0; +#X connect 7 0 2 1; +#X connect 8 0 3 1; +#X connect 9 0 7 0; +#X connect 10 0 8 0; +#X restore 224 207 pd rgb2v; +#X text 106 37 convert RGB to YUV; +#X obj 103 245 pack 0 0 0; +#X obj 103 69 inlet RGB; +#X obj 103 104 pack \$1 \$2 \$3; +#X obj 103 353 outlet YUV; +#X obj 103 226 / 256; +#X obj 163 226 / 256; +#X obj 224 226 / 256; +#X obj 103 125 unpack 0 0 0; +#X obj 103 166 t f f f; +#X obj 103 146 * 256; +#X obj 136 146 * 256; +#X obj 170 146 * 256; +#X connect 0 0 8 0; +#X connect 1 0 9 0; +#X connect 2 0 10 0; +#X connect 4 0 7 0; +#X connect 5 0 6 0; +#X connect 6 0 11 0; +#X connect 8 0 4 0; +#X connect 9 0 4 1; +#X connect 10 0 4 2; +#X connect 11 0 13 0; +#X connect 11 1 14 0; +#X connect 11 2 15 0; +#X connect 12 0 0 0; +#X connect 12 1 1 0; +#X connect 12 2 2 0; +#X connect 13 0 12 0; +#X connect 14 0 0 1; +#X connect 14 0 1 1; +#X connect 14 0 2 1; +#X connect 15 0 2 2; +#X connect 15 0 1 2; +#X connect 15 0 0 2; +#X restore 575 582 pd rgb2yuv; +#X text 653 585 imported from gem : thanks iohannes; +#X floatatom 537 536 5 0 0 0 - - -; +#X floatatom 691 542 5 0 0 0 - - -; +#X floatatom 816 543 5 0 0 0 - - -; +#X obj 650 635 + 128; +#X obj 612 635 + 128; +#X obj 154 608 yuv2rgb; +#X obj 252 560 - 128; +#X obj 204 560 - 128; +#X obj 154 584 pack f f f; +#X obj 154 632 unpack f f f; +#X floatatom 155 657 5 0 0 0 - - -; +#X floatatom 195 658 5 0 0 0 - - -; +#X floatatom 239 658 5 0 0 0 - - -; +#X obj 79 505 pdp_glx; +#X obj 312 264 pdp_glx; #X connect 0 0 9 0; #X connect 1 0 10 0; #X connect 2 0 1 0; #X connect 3 0 10 0; #X connect 4 0 3 0; #X connect 5 0 4 0; -#X connect 6 0 9 1; +#X connect 6 0 10 1; #X connect 7 0 9 0; #X connect 8 0 6 0; #X connect 9 0 10 0; -#X connect 10 0 46 0; -#X connect 10 0 47 0; -#X connect 10 0 49 0; -#X connect 11 0 46 0; -#X connect 11 0 47 0; +#X connect 10 0 41 0; +#X connect 10 0 43 0; +#X connect 10 0 76 0; +#X connect 11 0 41 0; +#X connect 11 0 76 0; #X connect 12 0 11 0; #X connect 13 0 12 0; #X connect 14 0 12 0; #X connect 15 0 11 0; -#X connect 16 0 46 1; -#X connect 17 0 46 2; -#X connect 18 0 46 3; -#X connect 19 0 46 4; -#X connect 21 0 46 5; -#X connect 24 0 46 0; -#X connect 26 0 46 6; -#X connect 27 0 29 0; -#X connect 28 0 31 0; +#X connect 16 0 41 1; +#X connect 17 0 41 2; +#X connect 18 0 41 3; +#X connect 19 0 41 4; +#X connect 21 0 41 5; +#X connect 22 0 41 0; +#X connect 24 0 41 6; +#X connect 25 0 27 0; +#X connect 26 0 29 0; +#X connect 27 0 26 0; #X connect 29 0 28 0; -#X connect 31 0 30 0; -#X connect 32 0 24 0; -#X connect 32 0 46 0; -#X connect 46 0 50 0; -#X connect 46 1 34 0; -#X connect 46 2 35 0; -#X connect 46 3 36 0; -#X connect 47 0 48 0; -#X connect 48 0 32 0; -#X connect 49 0 47 0; +#X connect 31 0 70 0; +#X connect 32 0 69 0; +#X connect 33 0 68 0; +#X connect 41 0 75 0; +#X connect 41 1 31 0; +#X connect 41 2 32 0; +#X connect 41 3 33 0; +#X connect 42 0 55 0; +#X connect 43 0 76 0; +#X connect 44 0 48 0; +#X connect 44 1 66 0; +#X connect 44 2 65 0; +#X connect 45 0 16 0; +#X connect 46 0 17 0; +#X connect 47 0 18 0; +#X connect 51 0 52 0; +#X connect 51 0 62 0; +#X connect 51 1 52 1; +#X connect 51 1 63 0; +#X connect 51 2 52 2; +#X connect 51 2 64 0; +#X connect 52 0 60 0; +#X connect 53 0 22 0; +#X connect 54 0 53 0; +#X connect 55 0 41 0; +#X connect 55 0 54 0; +#X connect 60 0 44 0; +#X connect 65 0 50 0; +#X connect 66 0 49 0; +#X connect 67 0 71 0; +#X connect 68 0 70 2; +#X connect 69 0 70 1; +#X connect 70 0 67 0; +#X connect 71 0 72 0; +#X connect 71 1 73 0; +#X connect 71 2 74 0; +#X connect 76 0 42 0; |