blob: 4a609930bf22d1328038c1fe715e8c17d8775224 (
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
|
#N canvas 720 79 579 617 10;
#X obj 40 121 @ -;
#X obj 40 144 @ max 0;
#X obj 40 167 @ ||;
#X obj 40 190 @ +;
#X obj 99 143 inv+ 0;
#X obj 40 -33 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1
;
#X obj 95 56 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0 1
;
#X floatatom 251 270 5 0 0 0 - - -;
#X obj 251 137 vsl 15 128 0 256 0 0 empty empty empty 0 -8 0 8 -260818
-1 -1 0 1;
#X obj 40 55 shunt 2;
#X obj 40 448 @out window;
#X text 6 100 simple per-channel threshold;
#X text 316 102 bluescreen luma threshold;
#X text 381 255 here we have a mask;
#X text 361 267 (alpha as separate image);
#X obj 327 356 @join 2;
#X text 386 295 make a RGBA image;
#X obj 310 137 t b a a;
#X text 218 398 = medium blue;
#X obj 297 290 t a a;
#X obj 131 449 fps;
#X floatatom 161 451 5 0 0 0 - - -;
#X obj 40 9 metro 100;
#X msg 70 397 240 320 3 # 0 0 170;
#X text 386 333 won't be necessary;
#X text 319 117 with alpha channel;
#X text 13 368 you could also load a picture;
#X text 13 380 instead of using uniform blue;
#X text 58 -31 1000/100 = 10 fps (max) (adjustable);
#X text 281 22 see also color_detect.pd;
#X obj 40 33 #camera;
#X obj -13 -86 cnv 15 580 30 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 0 -73 Copyright 2002 Mathieu Bouchard;
#X obj -15 499 cnv 15 580 30 empty empty empty 20 12 0 14 -200249 -66577
0;
#X text -7 506 GridFlow 0.8.0;
#X text -7 506 GridFlow 0.8.0;
#X text 0 -86 threshold.pd;
#X obj 290 335 #store;
#X obj 290 314 #finished;
#X obj 354 204 # * 255;
#X obj 354 181 # >=;
#X obj 354 162 #rgb_to_greyscale;
#X text 384 320 this silly #finished;
#X text 388 347 in GridFlow 1;
#X obj 70 425 #draw_image put \, alpha 1;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 10 0;
#X connect 4 0 2 1;
#X connect 5 0 22 0;
#X connect 6 0 9 1;
#X connect 7 0 0 1;
#X connect 7 0 4 0;
#X connect 7 0 3 1;
#X connect 7 0 40 1;
#X connect 8 0 7 0;
#X connect 9 0 0 0;
#X connect 9 1 17 0;
#X connect 10 0 20 0;
#X connect 17 0 23 0;
#X connect 17 1 19 0;
#X connect 17 2 41 0;
#X connect 19 0 38 0;
#X connect 19 1 37 1;
#X connect 20 0 21 0;
#X connect 22 0 30 0;
#X connect 23 0 44 0;
#X connect 30 0 9 0;
#X connect 37 0 15 0;
#X connect 38 0 37 0;
#X connect 39 0 15 1;
#X connect 40 0 39 0;
#X connect 41 0 40 0;
#X connect 44 0 10 0;
|