[Gridflow-cvs] [svn] commit: r4778 - in /trunk/doc/flow_classes: #cluster_avg-help.pd #convolve-help.pd #finished-help.pd #moment_polar-help.pd

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Nov 8 01:21:49 EST 2009


Author: matju
Date: Sun Nov  8 01:21:49 2009
New Revision: 4778

Log:
add some more details

Modified:
    trunk/doc/flow_classes/#cluster_avg-help.pd
    trunk/doc/flow_classes/#convolve-help.pd
    trunk/doc/flow_classes/#finished-help.pd
    trunk/doc/flow_classes/#moment_polar-help.pd

Modified: trunk/doc/flow_classes/#cluster_avg-help.pd
==============================================================================
--- trunk/doc/flow_classes/#cluster_avg-help.pd (original)
+++ trunk/doc/flow_classes/#cluster_avg-help.pd Sun Nov  8 01:21:49 2009
@@ -1,22 +1,28 @@
-#N canvas 615 299 632 303 10;
+#N canvas 615 299 632 309 10;
 #X obj 14 60 doc_cc 0;
 #X obj 14 120 doc_ii 0;
-#X text 232 242 counts;
-#X text 232 220 sums;
-#X obj 14 140 doc_ii 1;
-#X obj 14 160 doc_ii 2;
-#X obj 14 220 doc_oo 0;
-#X obj 14 242 doc_oo 1;
+#X obj 14 142 doc_ii 1;
+#X obj 14 164 doc_ii 2;
+#X obj 14 226 doc_oo 0;
+#X obj 14 248 doc_oo 1;
 #X obj 0 0 doc_h;
-#X obj 0 274 doc_f;
+#X obj 0 280 doc_f;
 #X obj 3 30 doc_c 1;
 #X obj 3 90 doc_i 3;
-#X obj 3 190 doc_o 2;
-#X obj 97 160 doc_m i2 grid;
+#X obj 3 196 doc_o 2;
+#X obj 97 164 doc_m i2 grid;
 #X obj 97 60 doc_m c0 int;
-#X obj 97 220 doc_m o0 grid;
-#X obj 97 242 doc_m o1 grid;
-#X obj 97 140 doc_m i1 float int;
+#X obj 97 226 doc_m o0 grid;
+#X obj 97 248 doc_m o1 grid;
+#X obj 97 142 doc_m i1 float int;
 #X obj 97 120 doc_m i0 grid i;
-#X connect 15 1 3 0;
-#X connect 16 1 2 0;
+#X text 232 142 numClusters;
+#X text 232 164 grid[*A \, B];
+#X text 232 120 grid[*A \, 1];
+#X text 232 248 counts grid[numClusters];
+#X text 232 226 sums grid[numClusters \, B];
+#X connect 11 1 18 0;
+#X connect 13 1 21 0;
+#X connect 14 1 20 0;
+#X connect 15 1 17 0;
+#X connect 16 1 19 0;

Modified: trunk/doc/flow_classes/#convolve-help.pd
==============================================================================
--- trunk/doc/flow_classes/#convolve-help.pd (original)
+++ trunk/doc/flow_classes/#convolve-help.pd Sun Nov  8 01:21:49 2009
@@ -1,4 +1,4 @@
-#N canvas 678 0 632 642 10;
+#N canvas 648 0 632 642 10;
 #X obj 43 87 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1
 ;
 #X msg 255 135 1 1 1 1 1 1 1 1 1;
@@ -6,10 +6,10 @@
 #X obj 255 157 #redim (3 3);
 #X obj 43 158 #in;
 #X obj 43 241 #out window;
-#X obj 103 723 #contrast;
-#X obj 169 723 #posterize;
-#X obj 241 723 #solarize;
-#X obj 307 723 #layer;
+#X obj 103 729 #contrast;
+#X obj 169 729 #posterize;
+#X obj 241 729 #solarize;
+#X obj 307 729 #layer;
 #X obj 43 183 #convolve \, op ^ \, fold + \, seed 0;
 #X text 14 28 [#convolve] is used to perform various transformations
 on images such as blurring \, sharpening \, finding edges \, embossing
@@ -20,37 +20,40 @@
 they are even numbers \, then the chosen centre will be slightly more
 to the left and/or to the top \, because the actual middle is between
 celle of the grid.;
-#X obj 3 723 doc_also;
-#X obj 14 691 doc_oo 0;
+#X obj 3 729 doc_also;
+#X obj 14 697 doc_oo 0;
 #X obj 14 443 doc_ii 0;
-#X obj 14 629 doc_ii 1;
+#X obj 14 635 doc_ii 1;
 #X text 155 216 here ^ is the parallel operator \, fold is indicated
 by + and 0 is its base (seed).;
 #X obj 14 316 doc_cc 0;
-#X text 232 691 Resulting image.;
+#X text 232 697 Resulting image.;
+#X text 232 635 same as arg 0;
+#X msg 43 135 open scissors.jpg \, bang;
+#X obj 0 0 doc_h;
+#X obj 0 749 doc_f;
+#X obj 3 286 doc_c 0..1;
+#X obj 3 413 doc_i 2;
+#X obj 3 667 doc_o 1;
+#X obj 97 443 doc_m i0 grid;
+#X obj 97 635 doc_m i1 grid;
+#X obj 97 697 doc_m o0 grid;
+#X obj 97 591 doc_m i0 op numop;
+#X obj 97 569 doc_m i0 fold numop;
+#X obj 97 613 doc_m i0 seed grid;
+#X obj 97 316 doc_m c0 grid;
 #X text 232 443 Splits the incoming grid into dim(rest...) parts \,
 for each of those parts at (y \, x). A rectangle of such parts \, centered
-around (y \, x) is combined with the convolution grid like a [#] of
-operation op_para. Then each such result is folded like [#fold] of
-operation op_fold and specified base. The results are assembled into
-a grid that is sent to the outlet. Near the borders of the grid \,
-coordinates wrap around. this means the whole grid has to be received
-before production of the next grid starts.;
-#X text 232 629 same as arg 0;
-#X msg 43 135 open scissors.jpg \, bang;
-#X obj 0 0 doc_h;
-#X obj 0 743 doc_f;
-#X obj 3 286 doc_c 0..1;
-#X obj 3 413 doc_i 2;
-#X obj 3 661 doc_o 1;
-#X obj 97 443 doc_m i0 grid;
-#X obj 97 629 doc_m i1 grid;
-#X obj 97 691 doc_m o0 grid;
-#X obj 97 589 doc_m i0 op numop;
-#X obj 97 569 doc_m i0 fold numop;
-#X obj 97 609 doc_m i0 seed grid;
-#X obj 97 316 doc_m c0 grid;
-#X connect 0 0 22 0;
+around (y \, x) is combined with the convolution grid like a [#] (see
+operation 'op' below). Then each such result is folded like [#fold]
+(see 'fold' and 'seed' below). The results are assembled into a grid
+that is sent to the outlet. Near the borders of the grid \, coordinates
+wrap around. this means the whole grid has to be received before production
+of the next grid starts.;
+#X text 232 569 numop used as in [#fold];
+#X text 232 591 numop used as in [#];
+#X text 232 613 seed used as in [#fold];
+#X connect 0 0 21 0;
 #X connect 1 0 3 0;
 #X connect 2 0 1 0;
 #X connect 3 0 10 1;
@@ -60,8 +63,11 @@
 #X connect 13 1 7 0;
 #X connect 13 1 8 0;
 #X connect 13 1 9 0;
-#X connect 22 0 4 0;
+#X connect 21 0 4 0;
+#X connect 27 1 34 0;
 #X connect 28 1 20 0;
-#X connect 29 1 21 0;
-#X connect 30 1 19 0;
-#X connect 34 1 12 0;
+#X connect 29 1 19 0;
+#X connect 30 1 36 0;
+#X connect 31 1 35 0;
+#X connect 32 1 37 0;
+#X connect 33 1 12 0;

Modified: trunk/doc/flow_classes/#finished-help.pd
==============================================================================
--- trunk/doc/flow_classes/#finished-help.pd (original)
+++ trunk/doc/flow_classes/#finished-help.pd Sun Nov  8 01:21:49 2009
@@ -30,9 +30,6 @@
 #X text 39 278 the 2nd exception is that it definitely doesn't support
 any control-recursion (an object can't start processing a new message
 before it has finished processing its message).;
-#X obj 410 221 pdp_qt;
-#X obj 410 252 print;
-#X msg 409 199;
 #X text 40 327 the third exception is that the GRID atom type is not
 officially recognised by PureData because PureData provides no means
 for externals to register new atom types. You can see the effect of
@@ -51,4 +48,3 @@
 #X connect 13 0 2 0;
 #X connect 13 1 14 0;
 #X connect 16 1 17 0;
-#X connect 19 0 20 0;

Modified: trunk/doc/flow_classes/#moment_polar-help.pd
==============================================================================
--- trunk/doc/flow_classes/#moment_polar-help.pd (original)
+++ trunk/doc/flow_classes/#moment_polar-help.pd Sun Nov  8 01:21:49 2009
@@ -1,25 +1,51 @@
-#N canvas 455 225 632 371 10;
-#X text 232 226 must be a 2x2 symmetric matrix.;
-#X text 232 288 outlet 0: angle (only makes sense with a 2x2 matrix)
+#N canvas 539 57 632 540 10;
+#X text 232 375 must be a 2x2 symmetric matrix.;
+#X text 232 437 outlet 0: angle (only makes sense with a 2x2 matrix)
 as int;
-#X text 232 310 outlet 1: radiuses (from biggest to smallest) as float
+#X text 232 459 outlet 1: radiuses (from biggest to smallest) as float
 grid;
-#X text 30 61 please open this other help patch for a demo:;
 #X obj 0 0 doc_h;
-#X obj 3 121 doc_c 0;
-#X obj 3 161 doc_i 1;
-#X obj 3 258 doc_o 2;
-#X obj 14 288 doc_oo 0;
-#X obj 14 310 doc_oo 1;
-#X obj 14 191 doc_ii 0;
-#X obj 0 342 doc_f;
-#X obj 97 191 doc_m i0 grid;
-#X obj 97 288 doc_m o0 grid;
-#X obj 97 310 doc_m o1 grid;
-#X obj 37 77 #moment-help;
-#X text 232 191 inlet 0: variance matrix (aka covariance matrix) \,
+#X obj 3 270 doc_c 0;
+#X obj 3 310 doc_i 1;
+#X obj 3 407 doc_o 2;
+#X obj 14 437 doc_oo 0;
+#X obj 14 459 doc_oo 1;
+#X obj 14 340 doc_ii 0;
+#X obj 0 511 doc_f;
+#X obj 97 340 doc_m i0 grid;
+#X obj 97 437 doc_m o0 grid;
+#X obj 97 459 doc_m o1 grid;
+#X text 232 340 inlet 0: variance matrix (aka covariance matrix) \,
 from [#moment 2] or compatible.;
-#X connect 12 1 16 0;
-#X connect 12 1 0 0;
-#X connect 13 1 1 0;
-#X connect 14 1 2 0;
+#X obj 3 491 doc_also;
+#X obj 103 491 #moment;
+#X obj 68 205 #moment_polar;
+#X text 515 52 needs OpenCV;
+#X obj 68 116 #redim (2 2);
+#X obj 144 225 display;
+#X obj 69 246 display;
+#X obj 69 94 #pack 4;
+#X obj 82 62 nbx 5 14 -1e+37 1e+37 0 1 empty empty yx 48 8 0 8 -262144
+-1 -1 78 256;
+#X obj 69 46 nbx 5 14 -1e+37 1e+37 0 1 empty empty yy 48 8 0 8 -262144
+-1 -1 -25 256;
+#X obj 108 78 nbx 5 14 -1e+37 1e+37 0 1 empty empty xx 48 8 0 8 -262144
+-1 -1 36 256;
+#X obj 80 143 display;
+#X text 236 107 finds the angle and radiuses associated with a variance
+matrix (aka covariance matrix). those matrices are output by [#moment
+2] and by [#labelling 0].;
+#X connect 11 1 14 0;
+#X connect 11 1 0 0;
+#X connect 12 1 1 0;
+#X connect 13 1 2 0;
+#X connect 15 1 16 0;
+#X connect 17 0 21 0;
+#X connect 17 1 20 0;
+#X connect 19 0 17 0;
+#X connect 19 0 26 0;
+#X connect 22 0 19 0;
+#X connect 23 0 22 1;
+#X connect 23 0 22 2;
+#X connect 24 0 22 0;
+#X connect 25 0 22 3;



More information about the Gridflow-cvs mailing list