aboutsummaryrefslogtreecommitdiff
path: root/pix_opencv_lk-help.pd
blob: f77ff9bc0a224f8a8d0ea575ed998ff2d74a122a (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
#N canvas 3 105 1192 685 10;
#X obj 396 -37 gemhead;
#X obj 212 501 pix_texture;
#X obj 212 529 square 2;
#X obj 28 132 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 35 178 pd gemwin;
#X msg 35 154 create;
#X text 36 136 Create window and render;
#X obj 213 404 pix_texture;
#X obj 213 432 square 2;
#X obj 325 71 translateXYZ -2 0 0;
#X obj 326 100 separator;
#X obj 340 180 cnv 15 600 450 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 511 -66 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 524 128 unpack 0 0 0;
#X floatatom 514 151 5 0 0 3 length - -;
#X floatatom 563 151 5 0 0 3 width - -;
#X floatatom 613 151 5 0 0 3 height - -;
#X obj 568 109 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144
-1 -1;
#X floatatom 550 74 5 0 10000 1 frame# - -;
#X obj 511 -37 openpanel;
#X msg 511 -17 open \$1;
#X obj 499 92 pix_film;
#X msg 517 26 auto \$1;
#X obj 517 8 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X obj 326 126 translateXYZ 4 0 0;
#X obj 580 26 loadbang;
#X msg 528 50 colorspace RGBA;
#X floatatom 488 520 5 0 0 0 - - -;
#X text 523 519 window size;
#X obj 553 262 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 468 260 nightmode \$1;
#X text 572 263 set nightmode;
#X msg 463 234 quality \$1;
#X floatatom 538 235 5 0 0 0 - - -;
#X floatatom 546 210 5 0 0 0 - - -;
#X msg 449 209 mindistance \$1;
#X text 587 208 set distance ( default 10 );
#X msg 442 181 init;
#X text 511 181 init point detections;
#X floatatom 631 235 5 0 0 0 - - -;
#X obj 576 233 / 1000;
#X msg 494 328 mark \$1 \$2;
#X msg 508 349 delete \$1;
#X text 579 349 delete a marker;
#X msg 516 369 clear;
#X text 564 370 delete all markers;
#X msg 522 389 maxmove \$1;
#X text 636 389 max movement of a marker ( default 5 pisels );
#X floatatom 598 391 5 0 0 0 - - -;
#X text 763 234 set quality ( default 100 );
#X msg 671 233 100;
#X obj 704 233 loadbang;
#X obj 485 575 unpack f f;
#X floatatom 486 600 5 0 0 0 - - -;
#X floatatom 544 601 5 0 0 0 - - -;
#X text 487 616 X;
#X text 542 617 Y;
#X obj 484 549 route 1 2 3 4 5 6 7 8 9 10;
#X text 650 498 position of each marked point;
#X obj 378 538 pix_opencv_lk;
#X obj 952 123 gemmouse;
#X obj 1008 230 f;
#X obj 978 229 f;
#X obj 1022 201 t b b;
#X obj 978 257 pack f f;
#X text 573 329 mark x y : mark a point to track ( max points : 10
);
#X obj 998 151 route 1;
#X msg 1019 176 bang;
#X msg 477 283 mark all;
#X msg 487 304 mark none;
#X text 540 284 mark all points;
#X text 557 305 reset all markers;
#X text 622 433 make a delaunay with all points;
#X msg 542 433 delaunay on;
#X msg 550 453 delaunay off;
#X text 651 466 make a delaunay with point 1 and a tolerance of 50
( all points which color is in that range will be included in the delaunay)
;
#X msg 552 478 pdelaunay 1 50;
#X msg 533 409 ftolerance \$1;
#X floatatom 625 409 5 0 0 0 - - -;
#X text 665 409 frame tolerance for point identification ( default
: 5 );
#X text 44 11 written by Lluis Gomez i Bigorda ( lluisgomez@hangar.org
) and Yves Degoyon ( ydegoyon@gmail.com );
#X text 43 -1 Corner points detection based on Shi and Tomasi;
#X text 43 -13 pix_opencv_lk : Lukas-Kanade corner points tracking
;
#X connect 0 0 21 0;
#X connect 1 0 2 0;
#X connect 4 0 5 0;
#X connect 5 0 4 0;
#X connect 7 0 8 0;
#X connect 9 0 7 0;
#X connect 9 0 10 0;
#X connect 10 0 24 0;
#X connect 12 0 19 0;
#X connect 13 0 14 0;
#X connect 13 1 15 0;
#X connect 13 2 16 0;
#X connect 17 0 18 0;
#X connect 18 0 21 1;
#X connect 19 0 20 0;
#X connect 20 0 21 0;
#X connect 21 0 9 0;
#X connect 21 1 13 0;
#X connect 21 2 17 0;
#X connect 22 0 21 0;
#X connect 23 0 22 0;
#X connect 24 0 59 0;
#X connect 25 0 26 0;
#X connect 26 0 21 0;
#X connect 27 0 59 1;
#X connect 29 0 30 0;
#X connect 30 0 59 0;
#X connect 32 0 59 0;
#X connect 33 0 32 0;
#X connect 34 0 35 0;
#X connect 35 0 59 0;
#X connect 37 0 59 0;
#X connect 39 0 40 0;
#X connect 40 0 33 0;
#X connect 41 0 59 0;
#X connect 42 0 59 0;
#X connect 44 0 59 0;
#X connect 46 0 59 0;
#X connect 48 0 46 0;
#X connect 50 0 39 0;
#X connect 51 0 50 0;
#X connect 52 0 53 0;
#X connect 52 1 54 0;
#X connect 57 0 52 0;
#X connect 59 0 1 0;
#X connect 59 1 57 0;
#X connect 60 0 62 1;
#X connect 60 1 61 1;
#X connect 60 2 66 0;
#X connect 61 0 64 1;
#X connect 62 0 64 0;
#X connect 63 0 62 0;
#X connect 63 1 61 0;
#X connect 64 0 41 0;
#X connect 66 0 67 0;
#X connect 67 0 63 0;
#X connect 68 0 59 0;
#X connect 69 0 59 0;
#X connect 73 0 59 0;
#X connect 74 0 59 0;
#X connect 76 0 59 0;
#X connect 77 0 59 0;
#X connect 78 0 77 0;