aboutsummaryrefslogtreecommitdiff
path: root/pix_opencv_threshold-help.pd
blob: 698d4eaf6d72423867d34b682834cdd26c185383 (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
113
114
#N canvas 1 49 820 711 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 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;
#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 obj 171 266 gemwin;
#X msg 164 226 create \, 1;
#X msg 252 229 destroy;
#X msg 292 186 frame 5;
#X obj 173 176 t b b b;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 2 0 10 0;
#X connect 2 1 4 0;
#X connect 2 1 8 0;
#X connect 3 0 0 0;
#X connect 4 0 0 0;
#X connect 7 0 6 0;
#X connect 8 0 6 0;
#X connect 9 0 6 0;
#X connect 10 0 7 0;
#X connect 10 2 9 0;
#X restore 564 240 pd gemwin;
#X msg 564 222 create;
#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 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 0 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 199 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 402 118 written by Lluis Gomez i Bigorda ( lluisgomez@hangar.org
);
#X text 401 106 used as a filter to detect bright or dark piksels;
#X text 402 93 pix_opencv_threshold : pixel thresholding;
#X text 339 360 ( default 50 );
#X obj 247 27 loadbang;
#X msg 247 52 colorspace RGBA;
#X msg 351 52 colorspace RGB;
#X msg 310 26 colorspace Grey;
#X connect 0 0 15 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 18 0;
#X connect 10 0 13 0;
#X connect 11 0 12 0;
#X connect 12 0 15 1;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 8 0;
#X connect 15 2 11 0;
#X connect 16 0 15 0;
#X connect 17 0 16 0;
#X connect 18 0 37 0;
#X connect 21 0 37 2;
#X connect 22 0 37 0;
#X connect 23 0 37 1;
#X connect 25 0 22 0;
#X connect 26 0 22 0;
#X connect 27 0 22 0;
#X connect 28 0 22 0;
#X connect 29 0 22 0;
#X connect 37 0 1 0;
#X connect 42 0 43 0;
#X connect 43 0 15 0;
#X connect 44 0 15 0;
#X connect 45 0 15 0;