aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/flow_classes/#join-help.pd
blob: 10e71f1c62be2ee0c1d22ba797f18154dc8f30dd (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
#N canvas 648 0 632 642 10;
#X obj 18 42 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
-1;
#X obj 211 40 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
-1;
#X text 174 228 the left grid and right grid must have the same number
of elements in all dimensions except the one specified \, which will
be the sum of the two corresponding;
#X text 244 39 1 <--;
#X text 45 41 2 <--;
#X obj 18 222 #clip;
#X obj 18 241 #out window;
#X obj 18 106 #in;
#X obj 211 125 #rgb_to_greyscale;
#X obj 211 106 #in;
#X obj 18 188 #perspective 128;
#X text 175 160 creation argument is the index of the dimension by
which the join will occur. for n-dimensional grids \, the dimensions
are numbered from 0 to n-1. in addition \, negative numbers from -n
to -1 may be used \, to which n will be added.;
#X obj 0 0 doc_h;
#X obj 3 666 doc_also;
#X obj 3 288 doc_c 0..2;
#X obj 3 409 doc_i 2;
#X obj 3 606 doc_o 1;
#X obj 18 161 #join 2;
#X obj 14 318 doc_cc 0;
#X obj 14 379 doc_cc 1;
#X obj 14 439 doc_ii 0;
#X obj 14 574 doc_ii 1;
#X obj 14 636 doc_oo 0;
#X obj 97 318 doc_m c0 float;
#X obj 97 379 doc_m c1 grid;
#X obj 97 439 doc_m i0;
#X text 232 318 Which_dim is the number of the dimension by which the
join will occur. For N-dimensional grids \, the dimensions are numbered
from 0 to N-1. In addition \, negative numbers from -N to -1 may be
used \, to which N will be added.;
#X text 232 439 The left grid and right grid must have the same number
of elements in all dimensions except the one specified. The result
will have the same number of elements in all dimensions except the
one specified \, which will be the sum of the two corresponding one.
;
#X text 232 513 For example \, joining a RGB picture Dim[y \, x \,
3] and a greyscale picture Dim[y \, x \, 1] on dimension 2 (or -1)
could make a RGBA picture Dim[y \, x \, 4] in which the greyscale image
becomes the opacity channel.;
#X text 232 574 same as arg 1;
#X obj 97 574 doc_m i1 grid;
#X obj 97 636 doc_m o0 grid;
#X obj 0 686 doc_f;
#X msg 18 83 load r001.jpg;
#X msg 211 78 load b001.jpg;
#X obj 103 666 listappend;
#X obj 175 666 list append;
#X text 234 381 grid to be appended to the left-inlet grid;
#X connect 0 0 33 0;
#X connect 1 0 34 0;
#X connect 5 0 6 0;
#X connect 7 0 17 0;
#X connect 8 0 17 1;
#X connect 9 0 8 0;
#X connect 10 0 5 0;
#X connect 13 1 35 0;
#X connect 13 1 36 0;
#X connect 17 0 10 0;
#X connect 23 1 26 0;
#X connect 25 1 27 0;
#X connect 25 1 28 0;
#X connect 30 1 29 0;
#X connect 33 0 7 0;
#X connect 34 0 9 0;