#N canvas 596 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 718 doc_also; #X obj 3 288 doc_c 0..2; #X obj 3 459 doc_i 2; #X obj 3 656 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 489 doc_ii 0; #X obj 14 624 doc_ii 1; #X obj 14 686 doc_oo 0; #X obj 97 318 doc_m c0 float; #X obj 97 379 doc_m c1 grid; #X obj 97 489 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 489 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 563 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 obj 232 624 doc_same 1; #X obj 97 624 doc_m i1 grid; #X obj 97 686 doc_m o0 grid; #X obj 0 738 doc_f; #X msg 18 83 load r001.jpg; #X msg 211 78 load b001.jpg; #X obj 103 718 list append; #X text 232 379 grid to be appended to the left-inlet grid; #X text 232 401 default is 0 \, which is quite dumb \, as Dim() grids can't be joined. you should provide a grid on your own \, usually in the right inlet.; #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 17 0 10 0; #X connect 23 1 26 0; #X connect 24 1 37 0; #X connect 24 1 36 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;