[Gridflow-cvs] [svn] commit: r4747 - in /trunk/doc/flow_classes: #ravel-help.pd #record-help.pd #redim-help.pd #reinterval-help.pd #remap_image-help.pd #reverse-help.pd #rgb_to_greyscale-help.pd #rgb_to_yuv-help.pd #rotate-help.pd #rotatificator-help.pd

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Nov 4 21:23:05 EST 2009


Author: matju
Date: Wed Nov  4 21:23:05 2009
New Revision: 4747

Log:
0.9.6

Modified:
    trunk/doc/flow_classes/#ravel-help.pd
    trunk/doc/flow_classes/#record-help.pd
    trunk/doc/flow_classes/#redim-help.pd
    trunk/doc/flow_classes/#reinterval-help.pd
    trunk/doc/flow_classes/#remap_image-help.pd
    trunk/doc/flow_classes/#reverse-help.pd
    trunk/doc/flow_classes/#rgb_to_greyscale-help.pd
    trunk/doc/flow_classes/#rgb_to_yuv-help.pd
    trunk/doc/flow_classes/#rotate-help.pd
    trunk/doc/flow_classes/#rotatificator-help.pd

Modified: trunk/doc/flow_classes/#ravel-help.pd
==============================================================================
--- trunk/doc/flow_classes/#ravel-help.pd (original)
+++ trunk/doc/flow_classes/#ravel-help.pd Wed Nov  4 21:23:05 2009
@@ -1,31 +1,32 @@
-#N canvas 691 0 568 491 10;
+#N canvas 691 0 632 493 10;
 #X obj 20 80 bng 15 250 50 0 empty empty empty 0 -6 0 8 -233017 -1
 -1;
 #X obj 20 231 print before;
 #X obj 140 233 print after;
 #X obj 20 142 #in;
 #X obj 20 188 #dim;
-#X obj 103 442 #redim (1);
-#X obj 175 442 #perspective;
+#X obj 103 444 #redim (1);
+#X obj 175 444 #perspective;
 #X obj 140 190 #dim;
 #X obj 140 169 #ravel;
 #X obj 0 0 doc_h;
 #X obj 3 267 doc_c 0;
 #X obj 3 307 doc_i 1;
-#X obj 3 442 doc_also;
+#X obj 3 444 doc_also;
 #X obj 3 382 doc_o 1;
 #X obj 14 412 doc_oo 0;
 #X obj 14 337 doc_ii 0;
 #X obj 97 337 doc_m i0 grid;
 #X obj 97 412 doc_m o0 grid;
-#X text 200 337 like [#redim] but always produce a 1-D grid with the
+#X text 232 337 like [#redim] but always produce a 1-D grid with the
 same total number of elements.;
-#X obj 0 462 doc_f;
+#X obj 0 464 doc_f;
 #X msg 20 120 load bluemarble.jpg;
 #X obj 20 210 #to_list;
 #X obj 140 212 #to_list;
 #X text 143 55 like #redim but always produces a 1-D grid with the
 same total number of elements.;
+#X text 232 412 1-D grid;
 #X connect 0 0 20 0;
 #X connect 3 0 4 0;
 #X connect 3 0 8 0;
@@ -35,6 +36,7 @@
 #X connect 12 1 5 0;
 #X connect 12 1 6 0;
 #X connect 16 1 18 0;
+#X connect 17 1 24 0;
 #X connect 20 0 3 0;
 #X connect 21 0 1 0;
 #X connect 22 0 2 0;

Modified: trunk/doc/flow_classes/#record-help.pd
==============================================================================
--- trunk/doc/flow_classes/#record-help.pd (original)
+++ trunk/doc/flow_classes/#record-help.pd Wed Nov  4 21:23:05 2009
@@ -1,4 +1,4 @@
-#N canvas 525 0 568 584 10;
+#N canvas 525 0 632 584 10;
 #X obj 79 121 #camera;
 #X obj 79 70 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1;
 #X obj 105 153 #out window;
@@ -14,9 +14,9 @@
 #X obj 108 244 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
 -1;
 #X obj 79 299 #record;
-#X text 200 461 Starts recording to the file.;
-#X text 200 483 Stops recording.;
-#X text 200 426 Opens a dialog window in which to type the filename
+#X text 232 461 Starts recording to the file.;
+#X text 232 483 Stops recording.;
+#X text 232 426 Opens a dialog window in which to type the filename
 to be recorded \, the defualt encoding is quicktime (raw).;
 #X text 22 33 Record a quicktime file with [#out];
 #X text 113 218 <-- 1 select filename;
@@ -36,7 +36,7 @@
 #X obj 97 461 doc_m i2 bang;
 #X obj 97 483 doc_m i3 bang;
 #X obj 0 555 doc_f;
-#X text 200 404 images to be recorded go here.;
+#X text 232 404 images to be recorded go here.;
 #X connect 0 0 2 0;
 #X connect 0 0 10 0;
 #X connect 1 0 6 0;

Modified: trunk/doc/flow_classes/#redim-help.pd
==============================================================================
--- trunk/doc/flow_classes/#redim-help.pd (original)
+++ trunk/doc/flow_classes/#redim-help.pd Wed Nov  4 21:23:05 2009
@@ -1,4 +1,4 @@
-#N canvas 680 0 568 624 10;
+#N canvas 680 0 632 624 10;
 #X text 86 37 rearrange a grid's values according to new dimensions
 ;
 #X obj 21 36 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1
@@ -6,11 +6,11 @@
 #X obj 21 103 #in;
 #X obj 111 154 #out window;
 #X obj 103 575 #ravel;
-#X obj 153 575 #perspective;
+#X obj 151 575 #perspective;
 #X obj 21 154 #out window;
 #X obj 21 127 t a a;
 #X obj 111 124 #redim (120 160 3);
-#X text 200 443 Outputs the redimensioned data as a grid.;
+#X text 232 443 Outputs the redimensioned data as a grid.;
 #X msg 232 131 240 320 3;
 #X msg 226 95 400 400 3;
 #X obj 0 0 doc_h;
@@ -23,17 +23,17 @@
 #X obj 14 443 doc_oo 0;
 #X obj 14 223 doc_cc 0;
 #X obj 97 223 doc_m c0 grid;
-#X text 200 223 dimension list \, (120 160 3) in this example.;
+#X text 232 223 dimension list \, (120 160 3) in this example.;
 #X obj 97 307 doc_m i0 grid;
-#X text 200 245 same as the dimension list of #import;
-#X text 200 307 the elements of this grid are serialized. if the resulting
+#X text 232 245 same as the dimension list of #import;
+#X text 232 307 the elements of this grid are serialized. if the resulting
 grid must be larger \, the sequence is repeated as much as necessary.
 if the resulting grid must be smaller \, the sequence is truncated.
 then the elements are deserialized to form the resulting grid.;
 #X obj 97 381 doc_m i1 grid;
-#X text 200 381 same as arg 0;
+#X text 232 381 same as arg 0;
 #X obj 97 443 doc_m o0 grid;
-#X text 200 465 example: with a 240 320 RGB image \, [#redim 120 640
+#X text 232 465 example: with a 240 320 RGB image \, [#redim 120 640
 3] will visually separate the even lines (left) from the odd lines
 (right). contrary to this \, [#redim 640 120 3] will split every line
 and put its left half on a even line and the right half on the following

Modified: trunk/doc/flow_classes/#reinterval-help.pd
==============================================================================
--- trunk/doc/flow_classes/#reinterval-help.pd (original)
+++ trunk/doc/flow_classes/#reinterval-help.pd Wed Nov  4 21:23:05 2009
@@ -1,4 +1,4 @@
-#N canvas 335 118 568 382 10;
+#N canvas 335 118 632 382 10;
 #X obj 0 0 doc_h;
 #X obj 0 353 doc_f;
 #X obj 98 61 #reinterval;
@@ -17,12 +17,12 @@
 #X obj 97 237 doc_m i3 grid;
 #X obj 97 259 doc_m i4 grid;
 #X obj 97 321 doc_m o0 grid;
-#X text 200 171 values to be rescaled;
-#X text 200 321 rescaled values;
-#X text 200 193 old start;
-#X text 200 215 old end;
-#X text 200 237 new start;
-#X text 200 259 new end;
+#X text 232 171 values to be rescaled;
+#X text 232 321 rescaled values;
+#X text 232 193 old start;
+#X text 232 215 old end;
+#X text 232 237 new start;
+#X text 232 259 new end;
 #X text 187 46 multiply and add to values such that the old start becomes
 the new start \, and the old end becomes the new end.;
 #X connect 12 1 18 0;

Modified: trunk/doc/flow_classes/#remap_image-help.pd
==============================================================================
--- trunk/doc/flow_classes/#remap_image-help.pd (original)
+++ trunk/doc/flow_classes/#remap_image-help.pd Wed Nov  4 21:23:05 2009
@@ -1,4 +1,4 @@
-#N canvas 690 0 568 578 10;
+#N canvas 690 0 632 578 10;
 #X text 19 26 Transforms a grid by displacing pixels.;
 #X obj 27 154 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
 -1;
@@ -16,7 +16,7 @@
 deformation out of outlet 0;
 #X obj 46 229 #remap_image;
 #X text 187 229 <-- change the numop to change the transformation;
-#X obj 100 529 #rotate;
+#X obj 103 529 #rotate;
 #X obj 0 0 doc_h;
 #X obj 3 295 doc_c 0;
 #X obj 3 335 doc_i 2;
@@ -27,14 +27,14 @@
 #X obj 14 462 doc_oo 0;
 #X obj 14 497 doc_oo 1;
 #X obj 97 365 doc_m i0 grid;
-#X text 200 365 grid to be remapped;
+#X text 232 365 grid to be remapped;
 #X obj 97 497 doc_m o1 grid;
-#X text 200 497 indexmap of dummy coordinates \, to be deformed;
+#X text 232 497 indexmap of dummy coordinates \, to be deformed;
 #X obj 97 387 doc_m i1 grid;
-#X text 200 387 modified version of what came out of outlet 1 \, which
+#X text 232 387 modified version of what came out of outlet 1 \, which
 will determine the remapping;
 #X obj 97 462 doc_m o0 grid;
-#X text 200 462 the grid from inlet 0 after being remapped using the
+#X text 232 462 the grid from inlet 0 after being remapped using the
 grid from inlet 1;
 #X obj 0 549 doc_f;
 #X connect 1 0 2 0;

Modified: trunk/doc/flow_classes/#reverse-help.pd
==============================================================================
--- trunk/doc/flow_classes/#reverse-help.pd (original)
+++ trunk/doc/flow_classes/#reverse-help.pd Wed Nov  4 21:23:05 2009
@@ -1,4 +1,4 @@
-#N canvas 668 0 568 688 10;
+#N canvas 668 0 632 642 10;
 #X obj 258 177 #color;
 #X obj 301 320 #color;
 #X obj 259 378 display;
@@ -8,18 +8,11 @@
 #X obj 22 257 #in;
 #X obj 22 176 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
 -1;
-#X msg 52 226 open b001.jpg;
 #X obj 22 371 #out window;
 #X obj 87 259 hradio 15 1 0 6 empty empty empty 0 -6 0 8 -260818 -1
 -1 0;
 #X obj 87 277 - 3;
 #X floatatom 87 297 5 0 0 0 - - -;
-#X text 16 107 0 vertical;
-#X text 16 122 1 horizontal;
-#X text 16 135 2 rgb <-> bgr;
-#X text 16 150 -1 \, -2 \, -3 \, swaps the specicied dimensions;
-#X text 16 92 An int argument changes the behavior in this way :;
-#X obj 22 198 t b b;
 #X obj 22 314 #reverse 0;
 #X obj 258 300 #reverse 0;
 #X obj 323 245 hradio 15 1 0 6 empty empty empty 0 -6 0 8 -260818 -1
@@ -29,36 +22,44 @@
 #X obj 0 0 doc_h;
 #X obj 3 416 doc_c 1;
 #X obj 3 517 doc_i 2;
-#X obj 3 599 doc_o 1;
-#X obj 14 629 doc_oo 0;
+#X obj 3 601 doc_o 1;
+#X obj 14 631 doc_oo 0;
 #X obj 14 547 doc_ii 0;
-#X obj 14 567 doc_ii 1;
+#X obj 14 569 doc_ii 1;
 #X obj 14 446 doc_cc 0;
-#X obj 97 629 doc_m o0 grid;
+#X obj 97 631 doc_m o0 grid;
 #X obj 97 547 doc_m i0 grid;
 #X obj 97 446 doc_m c0 float;
-#X obj 97 567 doc_m i1 float;
-#X text 200 567 same as arg 0;
-#X text 200 446 dimension number of the dimension by which the reverse
+#X obj 97 569 doc_m i1 float;
+#X text 232 569 same as arg 0;
+#X text 232 446 dimension number of the dimension by which the reverse
 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 659 doc_f;
-#X connect 0 0 19 0;
+#X obj 0 663 doc_f;
+#X text 232 547 grid to be reversed;
+#X text 232 631 reversed grid;
+#X msg 22 226 load b001.jpg;
+#X text 16 92 for an image \, 0 or -3 does vertical flip \, 1 or -2
+does horizontal flip \, and 2 or -1 does channel flip. if you do this
+on something else than an image \, you may see why the negative numbers
+are supported: if you make a grid of multiple images \, then -1 will
+always refer to the channels dimension no matter what.;
+#X connect 0 0 12 0;
 #X connect 3 0 2 0;
 #X connect 3 1 1 0;
-#X connect 5 0 18 0;
-#X connect 6 0 17 0;
-#X connect 7 0 5 0;
+#X connect 5 0 11 0;
+#X connect 6 0 33 0;
+#X connect 8 0 9 0;
 #X connect 9 0 10 0;
-#X connect 10 0 11 0;
-#X connect 11 0 18 1;
-#X connect 17 0 5 0;
-#X connect 17 1 7 0;
-#X connect 18 0 8 0;
-#X connect 19 0 3 0;
-#X connect 20 0 21 0;
-#X connect 21 0 22 0;
-#X connect 22 0 19 1;
-#X connect 33 1 36 0;
-#X connect 34 1 35 0;
+#X connect 10 0 11 1;
+#X connect 11 0 7 0;
+#X connect 12 0 3 0;
+#X connect 13 0 14 0;
+#X connect 14 0 15 0;
+#X connect 15 0 12 1;
+#X connect 24 1 32 0;
+#X connect 25 1 31 0;
+#X connect 26 1 29 0;
+#X connect 27 1 28 0;
+#X connect 33 0 5 0;

Modified: trunk/doc/flow_classes/#rgb_to_greyscale-help.pd
==============================================================================
--- trunk/doc/flow_classes/#rgb_to_greyscale-help.pd (original)
+++ trunk/doc/flow_classes/#rgb_to_greyscale-help.pd Wed Nov  4 21:23:05 2009
@@ -1,4 +1,4 @@
-#N canvas 689 0 568 401 10;
+#N canvas 689 0 632 401 10;
 #X obj 166 183 #out window;
 #X obj 166 112 #in;
 #X obj 166 137 #rgb_to_greyscale;
@@ -14,9 +14,9 @@
 #X obj 14 278 doc_ii 0;
 #X text 15 27 Creates a greyscale image from a rgb color image.;
 #X obj 97 278 doc_m i0 grid;
-#X text 200 278 presumed to be an RGB image;
+#X text 232 278 presumed to be an RGB image;
 #X obj 97 340 doc_m o0 grid;
-#X text 200 340 the image converted to greyscale.;
+#X text 232 340 the image converted to greyscale.;
 #X obj 0 372 doc_f;
 #X connect 1 0 2 0;
 #X connect 2 0 5 0;

Modified: trunk/doc/flow_classes/#rgb_to_yuv-help.pd
==============================================================================
--- trunk/doc/flow_classes/#rgb_to_yuv-help.pd (original)
+++ trunk/doc/flow_classes/#rgb_to_yuv-help.pd Wed Nov  4 21:23:05 2009
@@ -1,4 +1,4 @@
-#N canvas 205 69 568 421 10;
+#N canvas 205 69 632 421 10;
 #X obj 324 188 #out window;
 #X obj 273 87 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1
 -1;
@@ -19,8 +19,8 @@
 #X obj 0 392 doc_f;
 #X obj 97 298 doc_m i0 grid;
 #X obj 97 360 doc_m o0 grid;
-#X text 200 298 image in RGB format.;
-#X text 200 360 image in YUV format.;
+#X text 232 298 image in RGB format.;
+#X text 232 360 image in YUV format.;
 #X connect 1 0 2 0;
 #X connect 2 0 4 0;
 #X connect 2 0 8 0;

Modified: trunk/doc/flow_classes/#rotate-help.pd
==============================================================================
--- trunk/doc/flow_classes/#rotate-help.pd (original)
+++ trunk/doc/flow_classes/#rotate-help.pd Wed Nov  4 21:23:05 2009
@@ -1,4 +1,4 @@
-#N canvas 689 0 568 458 10;
+#N canvas 689 0 632 445 10;
 #X obj 180 121 #rotate;
 #X text 4 26 The [#rotate] performs rotations on indexmaps and polygons
 and such objects.;
@@ -11,14 +11,14 @@
 #X obj 80 142 #out window \, title #rotate;
 #X obj 9 57 tgl 15 0 empty empty empty 0 -6 0 8 -233017 -1 -1 0 1;
 #X obj 9 76 metro 100;
-#X text 200 274 The Grid passed in inlet 0 will be the grid on which
+#X text 232 274 The Grid passed in inlet 0 will be the grid on which
 the rotation will be performed.;
 #X floatatom 243 123 7 0 0 0 - - -;
 #X msg 80 57 open b001.jpg;
 #X obj 0 0 doc_h;
 #X obj 3 244 doc_i 2;
 #X obj 3 169 doc_c 1;
-#X text 200 371 Outputs the result of the rotation and needs to be
+#X text 232 371 Outputs the result of the rotation and needs to be
 sent to a [#remap_image] to be visualised.;
 #X obj 3 341 doc_o 1;
 #X obj 14 371 doc_oo 0;
@@ -28,10 +28,10 @@
 #X obj 97 199 doc_m c0 float;
 #X obj 97 274 doc_m i0 grid;
 #X obj 97 309 doc_m i1 float;
-#X text 200 309 same as arg 0;
+#X text 232 309 same as arg 0;
 #X obj 97 371 doc_m o0 grid;
 #X obj 0 416 doc_f;
-#X text 200 199 integer number (0 to 35999) as a creation argument
+#X text 232 199 integer number (0 to 35999) as a creation argument
 which initializes the first angle of rotation.;
 #X connect 0 0 5 1;
 #X connect 2 0 3 0;

Modified: trunk/doc/flow_classes/#rotatificator-help.pd
==============================================================================
--- trunk/doc/flow_classes/#rotatificator-help.pd (original)
+++ trunk/doc/flow_classes/#rotatificator-help.pd Wed Nov  4 21:23:05 2009
@@ -1,11 +1,11 @@
-#N canvas 604 245 568 527 10;
+#N canvas 604 245 632 581 10;
 #X obj 0 0 doc_h;
-#X obj 0 498 doc_f;
+#X obj 0 552 doc_f;
 #X obj 20 64 #rotatificator;
 #X text 191 138 named in honour of Laszlo Zlotz (a character from Achille
 Talon);
-#X obj 3 478 doc_also;
-#X obj 103 478 #rotate;
+#X obj 3 532 doc_also;
+#X obj 103 532 #rotate;
 #X obj 3 286 doc_i 2;
 #X obj 3 418 doc_o 1;
 #X obj 14 448 doc_oo 0;
@@ -22,22 +22,28 @@
 #X obj 97 210 doc_m c0 float/int;
 #X obj 97 232 doc_m c1 float/int;
 #X obj 97 254 doc_m c2 float/int;
-#X text 200 210 from;
-#X text 200 232 to;
-#X text 200 254 n;
-#X text 200 338 \$1=from (default:0) \; \$2=to (default: 1) \; \$3=n
+#X text 232 210 from;
+#X text 232 232 to;
+#X text 232 254 n;
+#X text 232 338 \$1=from (default:0) \; \$2=to (default: 1) \; \$3=n
 (default: 2);
-#X text 200 386 angle;
-#X text 200 316 scale;
+#X text 232 386 angle;
+#X text 232 316 scale;
 #X text 192 44 generates a N by N rotation matrix that rotates through
 two dimensions of your choice (from \, to) by a certain angle (in centidegrees).
 values produced are integers. the rotation matrix is multiplied by
 the given scale factor such that after an eventual [#inner] \, a division
 by the same amount would be performed. greater scale factors are more
 precise.;
+#X text 232 448 rotation matrix such that if rows 'from' and 'to' were
+deleted and columns 'from' and 'to' were deleted \, you'd have an identity
+matrix. in other words \, the rotation happens in a plane space made
+of the two dimensions represented by those two rows and two columns.
+;
 #X connect 4 1 5 0;
 #X connect 11 1 27 0;
 #X connect 12 1 25 0;
+#X connect 17 1 29 0;
 #X connect 18 1 26 0;
 #X connect 19 1 22 0;
 #X connect 20 1 23 0;



More information about the Gridflow-cvs mailing list