[Gridflow-cvs] [svn] commit: r3837 - /trunk/abstractions/#camera.pd

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Tue Jun 10 12:01:57 EDT 2008


Author: matju
Date: Tue Jun 10 12:01:57 2008
New Revision: 3837

Log:
grey-out colorspace

Modified:
    trunk/abstractions/#camera.pd

Modified: trunk/abstractions/#camera.pd
==============================================================================
--- trunk/abstractions/#camera.pd (original)
+++ trunk/abstractions/#camera.pd Tue Jun 10 12:01:57 2008
@@ -3,13 +3,12 @@
 0;
 #X obj 144 9 hradio 12 1 0 4 \$0-s_channel \$0-channel _0_1_2_3 -2
 7 1 10 -233017 -195568 -195568 0;
-#N canvas 275 0 811 538 camera 0;
+#N canvas 275 0 811 539 camera 0;
 #X obj 270 510 outlet;
 #X obj 11 9 inlet;
 #X obj 23 198 t a;
 #X msg 579 420 open videodev \$1 \, get;
 #X msg 633 273 size \$1 \$2;
-#X msg 11 136 \; \$1 \$2;
 #X obj 558 8 r \$0-size0;
 #X msg 633 8 120 160;
 #X msg 633 27 120 180;
@@ -47,20 +46,18 @@
 #X obj 559 368 range 8 9;
 #X obj 660 349 mod 10;
 #X msg 622 445 open dc1394 \, get;
-#X obj 331 265 listfind y yuv rgb magic;
-#X obj 331 322 listread y yuv rgb magic;
-#X msg 331 341 colorspace \$1;
+#X obj 351 287 listfind y yuv rgb magic;
+#X obj 351 344 listread y yuv rgb magic;
+#X msg 351 363 colorspace \$1;
 #X obj 141 66 list prepend;
 #X obj 141 85 list trim;
 #X obj 134 174 foreach;
 #X obj 134 193 makefilename \$0-%s;
 #X msg 134 212 \; \$1 color 10 20 20;
-#X msg 345 188 \; \$1 color 18 17 22;
-#X obj 345 92 makefilename \$0-%s;
+#X msg 2 123 \; \$1 color 18 17 22;
 #X obj 95 330 t b a b b;
-#X obj 331 284 s \$0-colorspace_e;
-#X obj 331 303 r \$0-s_colorspace_e;
-#X obj 331 246 r \$0-s_colorspace;
+#X obj 351 306 s \$0-colorspace_e;
+#X obj 351 325 r \$0-s_colorspace_e;
 #X obj 633 207 r \$0-s_height;
 #X obj 728 207 r \$0-s_width;
 #X obj 559 349 r \$0-s_device;
@@ -79,90 +76,89 @@
 hue whiteness white_mode white_red white_blue white_speed white_delay
 auto_gain framerate noise_reduction compression pwc size colorspace
 ;
-#X obj 206 245 r \$0-colorspace;
-#X obj 206 264 s \$0-colorspace_e;
-#X connect 1 0 35 0;
-#X connect 2 0 29 0;
-#X connect 3 0 53 0;
+#X obj 331 265 route2 color;
+#X obj 331 246 r \$0-colorspace;
+#X connect 1 0 34 0;
+#X connect 2 0 28 0;
+#X connect 3 0 51 0;
 #X connect 4 0 0 0;
-#X connect 6 0 7 0;
-#X connect 7 0 22 0;
-#X connect 8 0 22 0;
-#X connect 9 0 8 0;
-#X connect 10 0 22 0;
-#X connect 11 0 22 0;
+#X connect 5 0 6 0;
+#X connect 6 0 21 0;
+#X connect 7 0 21 0;
+#X connect 8 0 7 0;
+#X connect 9 0 21 0;
+#X connect 10 0 21 0;
+#X connect 11 0 9 0;
 #X connect 12 0 10 0;
-#X connect 13 0 11 0;
+#X connect 13 0 15 0;
 #X connect 14 0 16 0;
-#X connect 15 0 17 0;
-#X connect 16 0 22 0;
-#X connect 17 0 22 0;
+#X connect 15 0 21 0;
+#X connect 16 0 21 0;
+#X connect 17 0 19 0;
 #X connect 18 0 20 0;
 #X connect 19 0 21 0;
-#X connect 20 0 22 0;
-#X connect 21 0 22 0;
-#X connect 22 0 24 0;
-#X connect 22 1 23 0;
-#X connect 25 0 26 0;
-#X connect 26 0 4 0;
-#X connect 27 0 53 0;
-#X connect 28 0 3 0;
-#X connect 29 0 33 0;
-#X connect 30 0 41 0;
-#X connect 31 0 30 0;
-#X connect 33 0 34 0;
-#X connect 33 1 0 0;
-#X connect 34 0 53 0;
-#X connect 35 0 36 0;
-#X connect 35 1 38 1;
-#X connect 36 0 39 0;
+#X connect 20 0 21 0;
+#X connect 21 0 23 0;
+#X connect 21 1 22 0;
+#X connect 24 0 25 0;
+#X connect 25 0 4 0;
+#X connect 26 0 51 0;
+#X connect 27 0 3 0;
+#X connect 28 0 32 0;
+#X connect 29 0 40 0;
+#X connect 30 0 29 0;
+#X connect 32 0 33 0;
+#X connect 32 1 0 0;
+#X connect 33 0 51 0;
+#X connect 34 0 35 0;
+#X connect 34 1 37 1;
+#X connect 35 0 38 0;
+#X connect 35 0 50 0;
+#X connect 37 0 36 0;
 #X connect 38 0 37 0;
-#X connect 39 0 38 0;
-#X connect 39 1 37 1;
-#X connect 40 0 28 0;
-#X connect 40 1 42 0;
-#X connect 40 2 27 0;
-#X connect 41 0 32 0;
-#X connect 42 0 53 0;
-#X connect 43 0 54 0;
-#X connect 44 0 45 0;
-#X connect 45 0 2 0;
-#X connect 46 0 47 0;
-#X connect 47 0 2 0;
+#X connect 38 1 36 1;
+#X connect 39 0 27 0;
+#X connect 39 1 41 0;
+#X connect 39 2 26 0;
+#X connect 40 0 31 0;
+#X connect 41 0 51 0;
+#X connect 42 0 52 0;
+#X connect 43 0 44 0;
+#X connect 44 0 2 0;
+#X connect 45 0 46 0;
+#X connect 46 0 2 0;
+#X connect 47 0 48 0;
 #X connect 48 0 49 0;
-#X connect 49 0 50 0;
-#X connect 52 0 51 0;
-#X connect 53 0 62 0;
-#X connect 53 1 0 0;
-#X connect 53 2 68 0;
-#X connect 53 3 61 0;
-#X connect 55 0 44 0;
-#X connect 56 0 43 0;
-#X connect 57 0 25 0;
-#X connect 58 0 25 1;
-#X connect 59 0 40 0;
+#X connect 51 0 59 0;
+#X connect 51 1 0 0;
+#X connect 51 2 65 0;
+#X connect 51 3 58 0;
+#X connect 53 0 43 0;
+#X connect 54 0 24 0;
+#X connect 55 0 24 1;
+#X connect 56 0 39 0;
+#X connect 57 0 60 0;
+#X connect 58 0 28 1;
+#X connect 59 0 28 1;
+#X connect 60 0 61 0;
+#X connect 60 0 62 0;
 #X connect 60 0 63 0;
-#X connect 61 0 29 1;
-#X connect 62 0 29 1;
-#X connect 63 0 64 0;
-#X connect 63 0 65 0;
-#X connect 63 0 66 0;
-#X connect 63 1 22 0;
-#X connect 67 0 46 0;
-#X connect 67 1 46 1;
-#X connect 67 1 52 0;
-#X connect 68 0 48 0;
-#X connect 69 0 70 0;
+#X connect 60 1 21 0;
+#X connect 64 0 45 0;
+#X connect 64 1 45 1;
+#X connect 65 0 47 0;
+#X connect 66 0 52 0;
+#X connect 66 1 42 0;
+#X connect 67 0 66 0;
 #X restore 34 345 pd camera;
-#X obj 7 345 #in;
 #X obj 7 364 outlet image;
 #X obj 7 307 inlet;
 #X obj 144 21 hradio 12 1 0 4 \$0-s_tuner \$0-tuner _0_1_2_3 -2 7 1
 10 -233017 -195568 -195568 0;
 #X obj 134 45 hsl 129 12 0 65635 0 0 \$0-s_frequency \$0-frequency
-frequency 4 7 1 10 -233017 -195568 -195568 12800 1;
+frequency 4 7 1 10 -233017 -195568 -195568 0 1;
 #X obj 84 45 nbx 5 12 0 65535 0 0 \$0-s_frequency \$0-frequency empty
-4 7 1 10 -233017 -195568 -195568 65535 256;
+4 7 1 10 -233017 -195568 -195568 0 256;
 #X obj 46 307 r \$0-o;
 #X text 85 10 channel:;
 #X text 99 22 tuner:;
@@ -170,29 +166,29 @@
 0;
 #X text 9 7 device:;
 #X obj 11 25 vradio 15 1 0 10 \$0-s_device \$0-device empty 0 -6 0
-8 -241291 -1 -1 9;
+8 -241291 -1 -1 0;
 #X obj 82 67 cnv 15 184 172 empty empty empty 20 12 0 14 -233017 -66577
 0;
 #X obj 134 81 hsl 129 12 0 65535 0 0 \$0-s_brightness \$0-brightness
-brightness 4 7 1 10 -233017 -195568 -195568 3500 0;
+brightness 4 7 1 10 -62784 -44926 -1 3500 0;
 #X obj 134 105 hsl 129 12 0 65535 0 0 \$0-s_hue \$0-hue hue 4 7 1 10
--233017 -195568 -195568 12800 0;
+-62784 -44926 -1 12800 0;
 #X obj 134 69 hsl 129 12 0 65535 0 0 \$0-s_contrast \$0-contrast contrast
-4 7 1 10 -233017 -195568 -195568 9000 0;
+4 7 1 10 -62784 -44926 -1 12600 0;
 #X obj 134 117 hsl 129 12 0 65535 0 0 \$0-s_whiteness \$0-whiteness
-whiteness 4 7 1 10 -233017 -195568 -195568 12400 0;
+whiteness 4 7 1 10 -62784 -44926 -1 12400 0;
 #X obj 134 93 hsl 129 12 0 65535 0 0 \$0-s_colour \$0-colour colour
-4 7 1 10 -233017 -195568 -195568 6400 0;
+4 7 1 10 -62784 -44926 -1 6400 0;
 #X obj 84 69 nbx 5 12 0 65535 0 0 \$0-s_contrast \$0-contrast empty
-4 7 1 10 -233017 -195568 -195568 46080 256;
+4 7 1 10 -62784 -44926 -1 64512 256;
 #X obj 84 81 nbx 5 12 0 65535 0 0 \$0-s_brightness \$0-brightness empty
-4 7 1 10 -233017 -195568 -195568 17920 256;
+4 7 1 10 -62784 -44926 -1 17920 256;
 #X obj 84 93 nbx 5 12 0 65535 0 0 \$0-s_colour \$0-colour empty 4 7
-1 10 -233017 -195568 -195568 32768 256;
+1 10 -62784 -44926 -1 32768 256;
 #X obj 84 105 nbx 5 12 0 65535 0 0 \$0-s_hue \$0-hue empty 4 7 1 10
--233017 -195568 -195568 65535 256;
+-62784 -44926 -1 65535 256;
 #X obj 84 117 nbx 5 12 0 65535 0 0 \$0-s_whiteness \$0-whiteness empty
-4 7 1 10 -233017 -195568 -195568 63488 256;
+4 7 1 10 -62784 -44926 -1 63488 256;
 #X obj 271 139 cnv 15 144 170 empty empty empty 20 12 0 14 -233017
 -66577 0;
 #X obj 271 6 cnv 15 144 128 empty empty empty 20 12 0 14 -233017 -66577
@@ -225,32 +221,31 @@
 -233017 -195568 -195568;
 #X obj 341 117 bng 12 250 50 0 \$0-size7 \$0-sizec 288x352 16 6 1 10
 -233017 -195568 -195568;
-#X obj 309 36 nbx 5 14 -1e+37 1e+37 0 0 \$0-s_framerate \$0-framerate
-empty 0 -6 1 10 -233017 -195568 -195568 0 256;
+#X obj 357 36 nbx 5 14 -1e+37 1e+37 0 0 \$0-s_framerate \$0-framerate
+empty 0 -6 1 10 -62784 -44926 -1 0 256;
 #X obj 134 165 hsl 129 12 0 65535 0 0 \$0-s_white_blue \$0-white_blue
-white_blue 4 7 1 10 -233017 -195568 -195568 0 0;
+white_blue 4 7 1 10 -233017 -195568 -195568 3050 0;
 #X obj 84 165 nbx 5 12 0 65535 0 0 \$0-s_white_blue \$0-white_blue
-empty 4 7 1 10 -233017 -195568 -195568 0 256;
+empty 4 7 1 10 -233017 -195568 -195568 15616 256;
 #X obj 134 153 hsl 129 12 0 65535 0 0 \$0-s_white_red \$0-white_red
-white_red 4 7 1 10 -233017 -195568 -195568 0 0;
+white_red 4 7 1 10 -233017 -195568 -195568 2800 0;
 #X obj 84 153 nbx 5 12 0 65535 0 0 \$0-s_white_red \$0-white_red empty
-4 7 1 10 -233017 -195568 -195568 0 256;
+4 7 1 10 -233017 -195568 -195568 14336 256;
 #X obj 84 141 tgl 12 0 \$0-s_white_mode \$0-white_mode manual_white_balance
-20 7 1 10 -233017 -195568 -195568 0 1;
+20 7 1 10 -233017 -195568 -195568 1 1;
 #X obj 134 189 hsl 129 12 0 65535 0 0 \$0-s_white_delay \$0-white_delay
-white_delay 4 7 1 10 -233017 -195568 -195568 0 0;
+white_delay 4 7 1 10 -233017 -195568 -195568 5000 0;
 #X obj 84 189 nbx 5 12 0 65535 0 0 \$0-s_white_delay \$0-white_delay
-empty 4 7 1 10 -233017 -195568 -195568 0 256;
+empty 4 7 1 10 -233017 -195568 -195568 25600 256;
 #X obj 134 177 hsl 129 12 0 65535 0 0 \$0-s_white_speed \$0-white_speed
-white_speed 4 7 1 10 -233017 -195568 -195568 0 0;
+white_speed 4 7 1 10 -233017 -195568 -195568 10319 0;
 #X obj 84 177 nbx 5 12 0 65535 0 0 \$0-s_white_speed \$0-white_speed
-empty 4 7 1 10 -233017 -195568 -195568 0 256;
+empty 4 7 1 10 -233017 -195568 -195568 52832 256;
 #X obj 134 201 hsl 129 12 0 65535 0 0 \$0-s_auto_gain \$0-auto_gain
 auto_gain 4 7 1 10 -233017 -195568 -195568 0 0;
 #X obj 84 201 nbx 5 12 0 65535 0 0 \$0-s_auto_gain \$0-auto_gain empty
 4 7 1 10 -233017 -195568 -195568 0 256;
 #X text 29 160 *OFF*;
-#X text 279 35 fps:;
 #X text 30 24 #0;
 #X text 30 39 #1;
 #X text 30 54 #2;
@@ -261,17 +256,16 @@
 #X text 30 129 #7;
 #X text 314 51 presets:;
 #X text 91 129 ------- PWC ONLY: -------;
-#X text 358 36 pwc-only;
 #X obj 84 213 hradio 12 1 0 4 \$0-s_noise_reduction \$0-noise_reduction
-_0_1_2_3_noise_reduction -2 7 1 10 -233017 -195568 -195568 0;
+_0_1_2_3_noise_reduction -2 7 1 10 -233017 -195568 -195568 3;
 #X obj 84 225 hradio 12 1 0 4 \$0-s_compression \$0-compression _0_1_2_3_compression
--2 7 1 10 -233017 -195568 -195568 0;
-#X obj 11 181 tgl 12 0 \$0-s_pwc \$0-pwc empty 20 7 1 10 -233017 -195568
--195568 0 1;
+-2 7 1 10 -233017 -195568 -195568 3;
+#X obj 11 181 tgl 12 0 \$0-s_pwc \$0-pwc empty 20 7 1 10 -62784 -44926
+-1 0 1;
 #X text 26 179 use PWC;
 #X text 30 145 DC1394;
 #X obj 357 143 vradio 15 1 0 4 \$0-s_colorspace_e \$0-colorspace_e
-empty 0 -8 0 10 -233017 -195568 -195568 0;
+empty 0 -8 0 10 -62784 -44926 -1 2;
 #X text 377 141 y;
 #X text 376 158 yuv;
 #X text 375 173 rgb;
@@ -287,12 +281,14 @@
 #X connect 2 1 3 0;
 #X connect 2 2 1 0;
 #X restore 7 326 pd command_filtre;
-#X connect 2 0 3 0;
-#X connect 3 0 4 0;
-#X connect 3 1 2 0;
-#X connect 5 0 82 0;
-#X connect 9 0 3 0;
-#X connect 33 0 37 0;
-#X connect 34 0 37 0;
-#X connect 36 0 37 0;
-#X connect 82 0 3 0;
+#X obj 7 345 #in;
+#X text 272 36 framerate:;
+#X connect 2 0 80 0;
+#X connect 4 0 79 0;
+#X connect 8 0 80 0;
+#X connect 32 0 36 0;
+#X connect 33 0 36 0;
+#X connect 35 0 36 0;
+#X connect 79 0 80 0;
+#X connect 80 0 3 0;
+#X connect 80 1 2 0;



More information about the Gridflow-cvs mailing list