[Gridflow-cvs] [svn] commit: r6642 - in /trunk/doc/flow_classes: #extract_diagonal-help.pd #fade_lin-help.pd #fft-help.pd #labelling-help.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sun Feb 20 15:59:16 EST 2011


Author: matju
Date: Sun Feb 20 15:59:16 2011
New Revision: 6642

Log:
...

Modified:
    trunk/doc/flow_classes/#extract_diagonal-help.pd
    trunk/doc/flow_classes/#fade_lin-help.pd
    trunk/doc/flow_classes/#fft-help.pd
    trunk/doc/flow_classes/#labelling-help.pd

Modified: trunk/doc/flow_classes/#extract_diagonal-help.pd
==============================================================================
--- trunk/doc/flow_classes/#extract_diagonal-help.pd (original)
+++ trunk/doc/flow_classes/#extract_diagonal-help.pd Sun Feb 20 15:59:16 2011
@@ -1,45 +1,60 @@
-#N canvas 0 0 632 551 10;
-#X obj 53 82 cv/#SVD;
-#X obj 70 104 display;
-#X obj 53 166 display;
-#X msg 53 63 2 2 f # 30 40 50 60;
-#X text 53 43 numbers coming from the equation of an ellipse;
-#X text 101 85 eigenvectors show the direction of axes of the ellipse
+#N canvas 0 0 632 589 10;
+#X obj 53 72 cv/#SVD;
+#X obj 70 94 display;
+#X obj 53 156 display;
+#X msg 53 53 2 2 f # 30 40 50 60;
+#X text 53 33 numbers coming from the equation of an ellipse;
+#X text 101 75 eigenvectors show the direction of axes of the ellipse
 ;
-#X text 63 147 eigenvalues show the square of the length of the axes
+#X text 63 137 eigenvalues show the square of the length of the axes
 ;
-#X obj 23 214 #extract_diagonal;
-#X obj 36 238 display;
-#X obj 24 279 display;
-#X text 99 258 just the radiuses;
-#X obj 23 259 # sqrt (f #);
+#X obj 23 204 #extract_diagonal;
+#X obj 36 228 display;
+#X obj 24 329 display;
+#X text 99 308 just the radiuses;
+#X obj 23 309 # sqrt (f #);
 #X obj 0 0 doc_h;
 #X obj 3 358 doc_c 0;
 #X obj 3 398 doc_i 1;
 #X obj 3 460 doc_o 1;
 #X obj 14 490 doc_oo 0;
 #X obj 14 428 doc_ii 0;
-#X obj 0 522 doc_f;
+#X obj 0 555 doc_f;
 #X obj 97 428 doc_m i0 grid;
 #X obj 97 490 doc_m o0 grid;
-#X text 130 213 just keep the main diagonal of the matrix;
+#X text 130 203 just keep the main diagonal of the matrix;
 #X msg 449 169 3 3 # 1 2 3 4 5 6 7 8 9;
 #X obj 449 188 # +;
 #X text 474 186 cast to grid;
 #X obj 449 207 #extract_diagonal;
-#X obj 449 226 display;
-#X text 465 148 SIMPLE EXAMPLE :;
+#X obj 456 228 display;
 #X text 232 428 a Dim(N \, N) grid \, that is \, a square matrix;
-#X text 232 490 a Dim(N) grid \, the diagonal vector;
+#X obj 3 535 doc_also;
+#X obj 103 535 cv/#SVD;
+#X obj 36 257 #fold +;
+#X obj 36 278 display;
+#X text 85 257 this is the Trace of the matrix (sum over main diagonal)
+;
+#X text 232 490 a Dim(N) grid \, the diagonal vector : at position
+(i) in this grid \, there is element (i \, i) of the input grid.;
+#X obj 449 249 #fold +;
+#X text 465 148 SIMPLER EXAMPLE :;
+#X obj 449 268 display;
+#X text 497 249 the Trace;
 #X connect 0 0 2 0;
 #X connect 0 0 7 0;
 #X connect 0 1 1 0;
 #X connect 3 0 0 0;
 #X connect 7 0 8 0;
 #X connect 7 0 11 0;
+#X connect 7 0 30 0;
 #X connect 11 0 9 0;
-#X connect 19 1 28 0;
-#X connect 20 1 29 0;
+#X connect 19 1 27 0;
+#X connect 20 1 33 0;
 #X connect 22 0 23 0;
 #X connect 23 0 25 0;
 #X connect 25 0 26 0;
+#X connect 25 0 34 0;
+#X connect 28 1 29 0;
+#X connect 30 0 31 0;
+#X connect 34 0 36 0;

Modified: trunk/doc/flow_classes/#fade_lin-help.pd
==============================================================================
--- trunk/doc/flow_classes/#fade_lin-help.pd (original)
+++ trunk/doc/flow_classes/#fade_lin-help.pd Sun Feb 20 15:59:16 2011
@@ -1,4 +1,4 @@
-#N canvas 684 0 632 543 10;
+#N canvas 684 0 632 568 10;
 #X obj 0 0 doc_h;
 #X obj 3 212 doc_c 2;
 #X obj 77 134 #fade_lin;
@@ -24,13 +24,16 @@
 #X obj 97 422 doc_m i2 grid;
 #X obj 232 400 doc_same 0;
 #X obj 232 422 doc_same 1;
-#X obj 0 514 doc_f;
+#X obj 0 534 doc_f;
 #X text 16 33 non-linear temporal lowpass filter;
 #X text 16 47 (piecewise-constant);
 #X text 14 61 it is named "lin" because it has an output similar to
 [line] \, though the input is much different.;
+#X obj 3 514 doc_also;
+#X obj 103 514 #fade;
 #X connect 11 1 13 0;
 #X connect 12 1 14 0;
 #X connect 15 1 16 0;
 #X connect 17 1 19 0;
 #X connect 18 1 20 0;
+#X connect 25 1 26 0;

Modified: trunk/doc/flow_classes/#fft-help.pd
==============================================================================
--- trunk/doc/flow_classes/#fft-help.pd (original)
+++ trunk/doc/flow_classes/#fft-help.pd Sun Feb 20 15:59:16 2011
@@ -12,14 +12,14 @@
 #X obj 64 163 tgl 15 0 empty empty empty 0 -6 0 8 -241291 -1 -1 0 1
 ;
 #X obj 52 106 s orig;
-#X obj 66 312 r orig;
+#X obj 69 312 r orig;
 #X obj 13 331 #out window;
 #X obj 13 274 # + 128;
 #X obj 13 293 #clip;
 #X obj 13 125 #outer * (1 0);
 #X obj 13 255 #inner (1 0);
-#X text 89 255 convert complex to real (kicking dummy imaginary);
-#X text 100 125 convert real to complex (introducing dummy imaginary=0)
+#X text 90 247 convert complex to real (kicking dummy imaginary);
+#X text 103 117 convert real to complex (introducing dummy imaginary=0)
 ;
 #X obj 13 217 # / (f # 16);
 #X obj 0 0 doc_h;
@@ -28,7 +28,7 @@
 #X obj 3 589 doc_o 1;
 #X obj 14 619 doc_oo 0;
 #X obj 14 425 doc_ii 0;
-#X obj 0 651 doc_f;
+#X obj 0 671 doc_f;
 #X obj 13 312 #join 1;
 #X obj 97 619 doc_m o0 grid;
 #X obj 97 425 doc_m i0 grid;
@@ -45,6 +45,13 @@
 #X text 232 469 1: real fft;
 #X text 232 425 grid to apply fft on;
 #X text 232 619 grid that fft was applied on;
+#X obj 3 651 doc_also;
+#X obj 103 651 #polygon_comparator;
+#X obj 229 651 #convolve;
+#X obj 295 651 fft~;
+#X text 105 130 this step is useless when using the "real" mode.;
+#X text 90 259 this step is useless when using the "real" mode.;
+#X obj 331 651 #lop_space;
 #X connect 0 0 6 0;
 #X connect 1 0 16 0;
 #X connect 2 0 5 0;
@@ -71,3 +78,7 @@
 #X connect 31 1 35 0;
 #X connect 34 1 39 0;
 #X connect 34 1 38 0;
+#X connect 42 1 43 0;
+#X connect 42 1 44 0;
+#X connect 42 1 45 0;
+#X connect 42 1 48 0;

Modified: trunk/doc/flow_classes/#labelling-help.pd
==============================================================================
--- trunk/doc/flow_classes/#labelling-help.pd (original)
+++ trunk/doc/flow_classes/#labelling-help.pd Sun Feb 20 15:59:16 2011
@@ -1,47 +1,69 @@
-#N canvas 573 85 632 627 10;
+#N canvas 746 105 632 642 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 330 doc_m o0 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
+#X obj 0 816 doc_f;
+#X obj 22 170 #labelling;
+#X obj 3 498 doc_o 4;
+#X obj 3 388 doc_i 1;
+#X obj 14 528 doc_oo 0;
+#X obj 14 589 doc_oo 1;
+#X obj 14 685 doc_oo 2;
+#X obj 14 742 doc_oo 3;
+#X obj 14 418 doc_ii 0;
+#X obj 97 528 doc_m o0 grid;
+#X obj 3 304 doc_c 0..1;
+#X text 232 334 0 : bidimensional form;
+#X text 232 356 1 : form for horizontal lines;
+#X text 232 418 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
+#X text 232 528 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 232 268 doc_same 0;
-#X text 232 487 when form=0: a grid[2] giving the centre ([#moment
+#X obj 232 466 doc_same 0;
+#X text 232 685 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 text 232 742 when form=0: area of each region (in number of pixels)
 ;
-#X text 232 566 when form=1: not present;
-#X text 232 522 when form=1: not present;
-#X text 232 426 when form=1: a grid[2 \, 2] that is a 2-polygon \,
+#X text 232 764 when form=1: not present;
+#X text 232 720 when form=1: not present;
+#X text 232 624 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 text 232 391 when form=0: a grid[2 \, 2] giving the variance (centred
+#X obj 14 334 doc_cc 0;
+#X text 232 589 when form=0: a grid[2 \, 2] giving the variance (centred
 [#moment 2]) of each region;
-#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 220 doc_m i0 grid;
-#X obj 97 268 doc_m i0 form;
-#X obj 97 566 doc_m o3 <gone>;
-#X obj 97 522 doc_m o2 <gone>;
-#X obj 97 136 doc_m c0 float/int;
+#X obj 97 742 doc_m o3 float;
+#X obj 97 685 doc_m o2 grid;
+#X obj 97 589 doc_m o1 grid;
+#X obj 97 418 doc_m i0 grid;
+#X obj 97 466 doc_m i0 form;
+#X obj 97 764 doc_m o3 <gone>;
+#X obj 97 720 doc_m o2 <gone>;
+#X obj 97 334 doc_m c0 float/int;
+#X obj 3 796 doc_also;
+#X obj 22 100 #in;
+#X msg 22 80 load babbage.jpg;
+#X obj 22 270 #out window;
+#X obj 22 120 #inner (3 1 # 1 -1 -1);
+#X text 160 120 make one channel of red minus green minus blue;
+#X text 62 36 Flood-fill every "1" region of a picture using a different
+number \, and make stats about it.;
+#X obj 22 250 #inner (1 3 # 25 50 75);
+#X obj 22 140 # <;
+#X text 161 138 select negative regions (R < G+B);
+#X text 166 249 generate various colours from the region numbers;
+#X obj 79 190 print area;
+#X obj 60 210 print centre;
+#X obj 41 230 print variance;
+#X obj 103 796 #moment;
+#X obj 157 796 #moment_polar;
+#X obj 247 796 cv/#SVD;
+#X connect 2 0 39 0;
+#X connect 2 1 45 0;
+#X connect 2 2 44 0;
+#X connect 2 3 43 0;
 #X connect 10 1 15 0;
 #X connect 24 1 18 0;
 #X connect 25 1 17 0;
@@ -53,3 +75,11 @@
 #X connect 30 1 20 0;
 #X connect 31 1 12 0;
 #X connect 31 1 13 0;
+#X connect 32 1 46 0;
+#X connect 32 1 47 0;
+#X connect 32 1 48 0;
+#X connect 33 0 36 0;
+#X connect 34 0 33 0;
+#X connect 36 0 40 0;
+#X connect 39 0 35 0;
+#X connect 40 0 2 0;



More information about the Gridflow-cvs mailing list