diff options
author | Antoine Villeret <avilleret@users.sourceforge.net> | 2013-01-22 15:45:49 +0000 |
---|---|---|
committer | Antoine Villeret <avilleret@users.sourceforge.net> | 2013-01-22 15:45:49 +0000 |
commit | 8be86884ce537e32e3474084e39ccf72caa54ef0 (patch) | |
tree | af4e6979eec3d4fa61ce72367e9e04e63a2b975d | |
parent | e143e2727b7d78b159d418272ba6c9d71a980008 (diff) |
small changes
svn path=/trunk/externals/pix_opencv/; revision=16945
-rw-r--r-- | pix_opencv_contours-help.pd | 57 |
1 files changed, 31 insertions, 26 deletions
diff --git a/pix_opencv_contours-help.pd b/pix_opencv_contours-help.pd index f213132..7f54030 100644 --- a/pix_opencv_contours-help.pd +++ b/pix_opencv_contours-help.pd @@ -1,4 +1,4 @@ -#N canvas 944 268 794 766 10; +#N canvas 718 174 794 766 10; #X obj 472 35 cnv 15 300 500 empty empty empty 20 12 0 14 -228992 -66577 0; #X obj 11 56 cnv 15 450 200 empty empty empty 20 12 0 14 -233017 -66577 @@ -261,7 +261,7 @@ point (2 floats)> <depth point (2 floats)> depth; #X connect 19 0 15 0; #X connect 19 0 14 0; #X restore 542 294 pd drawdefects; -#N canvas 118 725 1126 316 options 0; +#N canvas 248 889 1126 281 options 0; #X obj 57 147 tgl 15 1 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X msg 57 167 contours \$1; @@ -283,7 +283,7 @@ point (2 floats)> <depth point (2 floats)> depth; #X obj 564 109 table drawY 1000; #X obj 564 129 table drawZ 1000; #X msg 559 168 settab drawX drawY drawZ; -#X obj 558 200 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +#X obj 558 200 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X msg 558 229 taboutput \$1; #X text 544 5 to improve performance and avoid "stack overflow" (because @@ -296,6 +296,31 @@ of list output; ou set table); #X text 569 256 see [pd draw_contour_gemvertexbuffer] for an example of drawing contours; +#N canvas 856 347 596 300 draw_contour_gemvertexbuffer 0; +#X obj 175 173 loadbang; +#X obj 135 65 translateXYZ -0.5 -0.5 0; +#X obj 135 42 scaleXYZ 10.6666 -8 1; +#X obj 135 87 t a b; +#X obj 135 -9 gemhead 1000; +#X obj 135 17 alpha 0; +#X msg 161 130 posX drawX \, posY drawY \, colorG drawZ \, colorA drawZ +; +#X msg 175 193 draw line; +#X obj 135 245 gemvertexbuffer; +#X obj 161 108 inlet; +#X connect 0 0 7 0; +#X connect 1 0 3 0; +#X connect 2 0 1 0; +#X connect 3 0 8 0; +#X connect 4 0 5 0; +#X connect 5 0 2 0; +#X connect 6 0 8 0; +#X connect 7 0 8 0; +#X connect 9 0 6 0; +#X restore 797 147 pd draw_contour_gemvertexbuffer; +#X obj 797 126 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X text 813 127 draw with gemvertexbuffer; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 3 0 5 0; @@ -307,6 +332,7 @@ of drawing contours; #X connect 15 0 2 0; #X connect 16 0 17 0; #X connect 17 0 2 0; +#X connect 24 0 23 0; #X restore 674 213 pd options; #X text 489 347 color legend :; #X text 522 364 yellow = bounding box; @@ -405,7 +431,7 @@ of drawing contours; #X connect 35 1 30 1; #X connect 36 0 23 0; #X restore 486 320 pd draw_contours; -#N canvas 674 287 660 668 info 0; +#N canvas 668 302 660 668 info 1; #X obj -187 105 cnv 15 250 40 empty empty empty 20 12 0 14 -4034 -66577 0; #X obj -78 302 cnv 15 350 20 empty empty empty 20 12 0 14 -4034 -66577 @@ -492,27 +518,6 @@ of drawing contours; coordinates (8 floats)> <rotrect center position (2 floats)> <rotrect size (2 floats)> <angle in degrees> <number of points> <contour length> 0 0 0 0; -#N canvas 870 312 596 300 draw_contour_gemvertexbuffer 0; -#X obj 175 173 loadbang; -#X obj 135 65 translateXYZ -0.5 -0.5 0; -#X obj 135 42 scaleXYZ 10.6666 -8 1; -#X obj 135 87 t a b; -#X obj 136 247 gemvertexbuffer; -#X obj 135 -9 gemhead 1000; -#X obj 135 17 alpha 0; -#X msg 152 134 posX drawX \, posY drawY \, colorG drawZ \, colorA drawZ -; -#X msg 175 193 draw line; -#X connect 0 0 8 0; -#X connect 1 0 3 0; -#X connect 2 0 1 0; -#X connect 3 0 4 0; -#X connect 3 1 7 0; -#X connect 5 0 6 0; -#X connect 6 0 2 0; -#X connect 7 0 4 0; -#X connect 8 0 4 0; -#X restore 539 443 pd draw_contour_gemvertexbuffer; #X obj 554 32 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X text 30 369 Inlet 1: message: contours <0|1>; @@ -545,4 +550,4 @@ size (2 floats)> <angle in degrees> <number of points> <contour length> #X connect 54 2 65 0; #X connect 55 0 48 0; #X connect 57 0 54 0; -#X connect 68 0 43 0; +#X connect 67 0 43 0; |