diff options
author | N.N. <sevyves@users.sourceforge.net> | 2009-08-15 12:57:31 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2009-08-15 12:57:31 +0000 |
commit | 7cabbe3dcaa0ef520f0caaf4009bd9add5474011 (patch) | |
tree | cdd14992168f67d7888a30a37ef51f03ccb20a7d /pix_opencv_threshold-help.pd | |
parent | 9952f0e57d7d6b18e8a83257ec89746365c5a0cd (diff) |
added threshold
svn path=/trunk/externals/pix_opencv/; revision=11922
Diffstat (limited to 'pix_opencv_threshold-help.pd')
-rwxr-xr-x | pix_opencv_threshold-help.pd | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/pix_opencv_threshold-help.pd b/pix_opencv_threshold-help.pd new file mode 100755 index 0000000..3cc6664 --- /dev/null +++ b/pix_opencv_threshold-help.pd @@ -0,0 +1,112 @@ +#N canvas 1 49 1424 780 10; +#X obj 277 -24 gemhead; +#X obj 182 509 pix_texture; +#X obj 182 537 square 2; +#X obj 554 196 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; +#X obj 67 89 outlet; +#X obj 67 10 inlet; +#X obj 67 41 route create; +#X msg 67 70 set destroy; +#X msg 182 68 set create; +#X msg 132 112 create \, 1; +#X msg 238 112 destroy; +#N canvas 87 154 247 179 Gem.init 0; +#X obj 118 46 loadbang; +#X msg 118 81 reset; +#X obj 118 113 outlet; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X restore 289 80 pd Gem.init; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 6 0; +#X connect 3 1 5 0; +#X connect 3 1 7 0; +#X connect 4 0 1 0; +#X connect 5 0 1 0; +#X connect 6 0 0 0; +#X connect 7 0 0 0; +#X connect 8 0 0 0; +#X restore 564 240 pd gemwin; +#X msg 564 222 destroy; +#X obj 29 508 pix_texture; +#X obj 29 536 square 2; +#X obj 158 168 translateXYZ -2 0 0; +#X obj 180 240 separator; +#X obj 170 -57 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 337 144 unpack 0 0 0; +#X floatatom 327 167 5 0 0 3 length - -; +#X floatatom 376 167 5 0 0 3 width - -; +#X floatatom 426 167 5 0 0 3 height - -; +#X obj 227 118 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144 +-1 -1; +#X floatatom 209 83 5 0 10000 1 frame# - -; +#X obj 170 -28 openpanel; +#X msg 170 -8 open \$1; +#X obj 158 101 pix_film; +#X msg 176 35 auto \$1; +#X obj 176 17 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X obj 177 275 translateXYZ 4 0 0; +#X obj 178 298 cnv 15 600 180 empty empty empty 20 12 0 14 -4034 -66577 +0; +#X text 562 202 Create window and render; +#X floatatom 306 359 5 0 0 0 - - -; +#X msg 490 438 mode \$1; +#X floatatom 260 340 5 0 0 0 - - -; +#X text 260 323 Max value used in some modes; +#X msg 467 326 0; +#X msg 488 349 1; +#X msg 511 372 2; +#X msg 535 393 3; +#X msg 562 416 4; +#X text 303 343 threshold value; +#X text 541 438 thresholding mode ( default 0 ); +#X text 499 324 pixel >= threshold; +#X text 539 371 pixel >= threshold set to threshold; +#X text 517 348 pixel <= threshold; +#X text 566 392 pixel <= threshold set to 0; +#X text 590 414 pixel >= threshold set to 0; +#X obj 198 384 pix_opencv_threshold; +#X text 399 71 written by Lluis Gomez i Bigorda ( lluisgomez@hangar.org +); +#X text 398 59 used as a filter to detect bright or dark piksels; +#X text 399 46 pix_opencv_threshold : pixel thresholding; +#X msg 187 59 colorspace RGBA; +#X text 339 360 ( default 50 ); +#X connect 0 0 19 0; +#X connect 1 0 2 0; +#X connect 4 0 5 0; +#X connect 5 0 4 0; +#X connect 6 0 7 0; +#X connect 8 0 6 0; +#X connect 8 0 9 0; +#X connect 9 0 22 0; +#X connect 10 0 17 0; +#X connect 11 0 12 0; +#X connect 11 1 13 0; +#X connect 11 2 14 0; +#X connect 15 0 16 0; +#X connect 16 0 19 1; +#X connect 17 0 18 0; +#X connect 18 0 19 0; +#X connect 19 0 8 0; +#X connect 19 1 11 0; +#X connect 19 2 15 0; +#X connect 20 0 19 0; +#X connect 21 0 20 0; +#X connect 22 0 41 0; +#X connect 25 0 41 2; +#X connect 26 0 41 0; +#X connect 27 0 41 1; +#X connect 29 0 26 0; +#X connect 30 0 26 0; +#X connect 31 0 26 0; +#X connect 32 0 26 0; +#X connect 33 0 26 0; +#X connect 41 0 1 0; +#X connect 45 0 19 0; |