aboutsummaryrefslogtreecommitdiff
path: root/pix_opencv_threshold-help.pd
blob: f924aea36e964c3071fc9584dfee697625e0b65a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
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 text 339 360 ( default 50 );
#X msg 187 58 colorspace Grey;
#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 46 0 19 0;