aboutsummaryrefslogtreecommitdiff
path: root/pix_opencv_hough_lines-help.pd
blob: 2ac7bf370eddae3c0b5cbbc60a9fcf7556c12b0b (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
#N canvas 0 0 1043 756 10;
#X obj 396 -37 gemhead;
#X obj 370 595 pix_texture;
#X obj 372 616 square 2;
#X obj 43 200 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 160 260 gemwin;
#X msg 159 207 create \, 1;
#X msg 235 208 destroy;
#X msg 281 180 frame 5;
#X obj 162 170 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 47 245 pd gemwin;
#X msg 48 220 destroy;
#X text 45 203 Create window and render;
#X obj 216 478 pix_texture;
#X obj 216 506 square 2;
#X obj 364 112 translateXYZ -2 0 0;
#X obj 365 138 separator;
#X obj 344 187 cnv 15 600 400 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 366 163 translateXYZ 4 0 0;
#X obj 580 26 loadbang;
#X msg 580 51 colorspace RGBA;
#X msg 685 51 colorspace RGB;
#X msg 789 51 colorspace Grey;
#X obj 370 486 pix_opencv_hough_lines;
#X obj 554 456 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 469 454 nightmode \$1;
#X text 573 457 set nightmode;
#X floatatom 500 304 5 0 0 0 - - -;
#X msg 399 270 mode \$1;
#X obj 495 241 vradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
#X text 516 241 CV_HOUGH_STANDARD;
#X text 516 255 CV_HOUGH_PROBABILISTIC;
#X text 517 271 CV_HOUGN_MULTI_SCALE;
#X msg 411 301 threshold \$1;
#X msg 425 331 minlength \$1;
#X floatatom 511 332 5 0 0 0 - - -;
#X floatatom 491 358 5 0 0 0 - - -;
#X msg 440 357 gap \$1;
#X text 534 358 gap betwwen lines ( default 10 \, for mode CV_HOUGH_PROBABILISTIC
);
#X text 548 329 minimum length ( default 30 \, for mode CV_HOUGH_PROBABILISTIC
);
#X floatatom 545 396 5 0 0 0 - - -;
#X floatatom 567 428 5 0 0 0 - - -;
#X msg 444 394 aresolution \$1;
#X msg 462 426 dresolutyion \$1;
#X text 611 424 distance resolution ( default 1 \, for mode CV_HOUGH_MULTI_SCALE
);
#X text 583 393 angle resolution ( default 1 \, for mode CV_HOUGH_MULTI_SCALE
);
#X msg 385 200 maxlines \$1;
#X floatatom 464 201 5 0 0 0 - - -;
#X text 505 197 maximum nuber of lines detected ( default : 10 );
#X text 539 300 threshold ( default 50 );
#X text 404 223 Detection mode ( default : CV_HOUGH_PROBABILISTIC )
;
#X floatatom 514 555 5 0 0 0 - - -;
#X floatatom 550 556 5 0 0 0 - - -;
#X obj 514 515 route 1 2 3 4 5 6 7 8 9 10;
#X text 683 514 position of each line;
#X obj 514 535 unpack f f f f;
#X text 517 569 X1;
#X text 553 569 Y1;
#X floatatom 587 556 5 0 0 0 - - -;
#X floatatom 623 557 5 0 0 0 - - -;
#X text 590 570 X2;
#X text 626 570 Y2;
#X text 68 59 written by Lluis Gomez i Bigorda ( lluisgomez@hangar.org
) and Yves Degoyon ( ydegoyon@gmail.com );
#X text 67 44 pix_opencv_hough_lines : Hough lines algorithm;
#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 29 0;
#X connect 25 0 26 0;
#X connect 26 0 21 0;
#X connect 27 0 21 0;
#X connect 28 0 21 0;
#X connect 29 0 1 0;
#X connect 29 1 59 0;
#X connect 30 0 31 0;
#X connect 31 0 29 0;
#X connect 33 0 39 0;
#X connect 34 0 29 0;
#X connect 35 0 34 0;
#X connect 39 0 29 0;
#X connect 40 0 29 0;
#X connect 41 0 40 0;
#X connect 42 0 43 0;
#X connect 43 0 29 0;
#X connect 46 0 48 0;
#X connect 47 0 49 0;
#X connect 48 0 29 0;
#X connect 49 0 29 0;
#X connect 52 0 29 0;
#X connect 53 0 52 0;
#X connect 59 0 61 0;
#X connect 61 0 57 0;
#X connect 61 1 58 0;
#X connect 61 2 64 0;
#X connect 61 3 65 0;