[Gridflow-cvs] [svn] commit: r6608 - /trunk/doc/flow_classes/#lop_space-help.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Tue Feb 15 12:51:02 EST 2011


Author: matju
Date: Tue Feb 15 12:51:00 2011
New Revision: 6608

Log:
trying to explain some more.

Modified:
    trunk/doc/flow_classes/#lop_space-help.pd

Modified: trunk/doc/flow_classes/#lop_space-help.pd
==============================================================================
--- trunk/doc/flow_classes/#lop_space-help.pd (original)
+++ trunk/doc/flow_classes/#lop_space-help.pd Tue Feb 15 12:51:00 2011
@@ -1,23 +1,23 @@
-#N canvas 598 171 632 594 10;
+#N canvas 598 171 632 642 10;
 #X obj 0 0 doc_h;
-#X obj 0 560 doc_f;
-#X obj 3 149 doc_c 2;
-#X obj 3 478 doc_o 1;
-#X obj 14 508 doc_oo 0;
-#X obj 14 424 doc_ii 0;
-#X obj 14 179 doc_cc 0;
-#X obj 14 214 doc_cc 1;
-#X obj 97 508 doc_m o0 grid;
-#X obj 97 424 doc_m i0 grid;
-#X obj 3 394 doc_i 2;
-#X obj 14 446 doc_ii 1;
-#X obj 97 446 doc_m i1 grid;
-#X obj 97 214 doc_m c1 grid;
-#X obj 97 179 doc_m c0 float;
-#X obj 232 446 doc_same 1;
-#X text 232 424 grid to be low-passed;
-#X text 232 508 result;
-#X text 232 214 coefficients of the filter. 0 means the output will
+#X obj 0 739 doc_f;
+#X obj 3 315 doc_c 2;
+#X obj 3 657 doc_o 1;
+#X obj 14 687 doc_oo 0;
+#X obj 14 603 doc_ii 0;
+#X obj 14 345 doc_cc 0;
+#X obj 14 380 doc_cc 1;
+#X obj 97 687 doc_m o0 grid;
+#X obj 97 603 doc_m i0 grid;
+#X obj 3 573 doc_i 2;
+#X obj 14 625 doc_ii 1;
+#X obj 97 625 doc_m i1 grid;
+#X obj 97 380 doc_m c1 grid;
+#X obj 97 345 doc_m c0 float;
+#X obj 232 625 doc_same 1;
+#X text 232 603 grid to be low-passed;
+#X text 232 687 result;
+#X text 232 380 coefficients of the filter. 0 means the output will
 be all zeroes. 256 leaves picture unchanged. values inside that range
 will give a blur (low pass). negative values gives unstable results.
 values between 256 and 512 will give a kind of sharpening effect. values
@@ -89,27 +89,43 @@
 #X connect 26 0 25 0;
 #X connect 28 0 21 0;
 #X restore 450 48 pd test-cutoff;
-#X text 232 349 generally \, [#lop_space d n] is closely related to
-[rpole~ n/256]---[*~ 1-n/256];
-#X obj 3 540 doc_also;
-#X obj 103 540 #convolve;
-#X obj 169 540 #fade;
-#X obj 211 540 rpole~;
-#X obj 259 540 lop~;
-#X text 232 179 number of the dimension to apply the low-pass filter
+#X obj 3 719 doc_also;
+#X obj 103 719 #convolve;
+#X obj 169 719 #fade;
+#X obj 211 719 rpole~;
+#X obj 259 719 lop~;
+#X text 232 345 number of the dimension to apply the low-pass filter
 on (default: 0);
-#X text 232 288 for a coefficient \$2 \, the cutoff wavelength is about
+#X text 232 454 for a coefficient \$2 \, the cutoff wavelength is about
 804/\$2 pixels \, for small enough values of \$2. This means the cutoff
 frequency is about 804/\$2 antipixels. The value 804 is actually 256
 times pi.;
+#X text 44 95 suppose p is a row or column of input pixels \, and q
+is the corresponding output \, and i is the position along that axis.
+then q[i] = (\$2*p[i] + (256-\$2)*q[i-1]) / 256;
+#X text 201 58 or;
+#X obj 221 58 rpole~;
+#X text 43 142 this is like [lop~] because there is no output gain
+\, but this is like [rpole~] because it doesn't depend on the sampling
+rate (in spatial terms \, the sampling rate is the numbers of rows
+or columns).;
+#X text 232 515 generally \, [#lop_space d n] is closely related to
+[rpole~ n/256]---[*~ 1-n/256] (this statement looks wrong. should review
+it.);
+#X text 45 199 at the same time \, it's not very clear whether something
+called [#lop_space] should have units in terms of pixels \, or in terms
+of picture size. it seems like picture size is usually not what we
+want to use as a reference for resolution. there wouldn't be much of
+a use for having separate [#lop_space] and [#rpole_space] classes to
+complete the analogy with the existing audio classes.;
 #X connect 8 1 17 0;
 #X connect 9 1 16 0;
 #X connect 12 1 15 0;
 #X connect 13 1 18 0;
-#X connect 13 1 30 0;
-#X connect 13 1 23 0;
-#X connect 14 1 29 0;
-#X connect 24 1 25 0;
-#X connect 24 1 26 1;
-#X connect 24 1 27 0;
-#X connect 24 1 28 0;
+#X connect 13 1 29 0;
+#X connect 13 1 34 0;
+#X connect 14 1 28 0;
+#X connect 23 1 24 0;
+#X connect 23 1 25 1;
+#X connect 23 1 26 0;
+#X connect 23 1 27 0;



More information about the Gridflow-cvs mailing list