aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/flow_classes/#labelling-help.pd
blob: 053b6ee0cae901c81fc6d07b38b138956bd16795 (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
#N canvas 573 85 632 627 10;
#X obj 0 0 doc_h;
#X obj 0 598 doc_f;
#X obj 71 60 #labelling;
#X obj 3 300 doc_o 4;
#X obj 3 190 doc_i 1;
#X obj 14 330 doc_oo 0;
#X obj 14 391 doc_oo 1;
#X obj 14 487 doc_oo 2;
#X obj 14 544 doc_oo 3;
#X obj 14 220 doc_ii 0;
#X obj 97 544 doc_m o3 float;
#X obj 97 487 doc_m o2 grid;
#X obj 97 391 doc_m o1 grid;
#X obj 97 330 doc_m o0 grid;
#X obj 97 220 doc_m i0 grid;
#X obj 3 106 doc_c 0..1;
#X text 232 136 0 : bidimensional form;
#X text 232 158 1 : form for horizontal lines;
#X text 232 220 single-channel picture to analyse. the content must
be made of zeroes and ones (other values are reserved for making the
output);
#X text 232 330 single-channel picture in which every contiguous region
(of ones) is labelled (flood-filled) using a number greater than or
equal to 2 those numbers are sorted according to the smallest pixel
index found in each region.;
#X obj 97 268 doc_m i0 form;
#X text 232 268 same as arg 0;
#X text 232 391 when form=0: a grid[2 \, 2] giving the standard-deviation
([#moment 2]) of each region;
#X text 232 487 when form=0: a grid[2] giving the centre ([#moment
1]) of each region;
#X text 232 544 when form=0: area of each region (in number of pixels)
;
#X obj 97 566 doc_m o3 <gone>;
#X text 232 566 when form=1: not present;
#X text 232 522 when form=1: not present;
#X obj 97 522 doc_m o2 <gone>;
#X text 232 426 when form=1: a grid[2 \, 2] that is a 2-polygon \,
that is \, just a straight line. this line is horizontal \, and its
right-side bound is for the first pixel that is NOT in the region.
;
#X obj 14 136 doc_cc 0;
#X obj 97 136 doc_m c0 float/int;
#X connect 10 1 24 0;
#X connect 11 1 23 0;
#X connect 12 1 22 0;
#X connect 12 1 29 0;
#X connect 13 1 19 0;
#X connect 14 1 18 0;
#X connect 20 1 21 0;
#X connect 25 1 26 0;
#X connect 28 1 27 0;
#X connect 31 1 16 0;
#X connect 31 1 17 0;