aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Villeret <avilleret@users.sourceforge.net>2013-01-11 08:51:19 +0000
committerAntoine Villeret <avilleret@users.sourceforge.net>2013-01-11 08:51:19 +0000
commite4dbd3c6669edc7648e1e101082b5be3c419789b (patch)
treeed4adfd0e5670822761ad38d7bb0d5db35d3f373
parent997720d18c09050619b00b652e18075a6f065f51 (diff)
improve help patch
svn path=/trunk/externals/pix_opencv/; revision=16852
-rw-r--r--pix_opencv_contours-help.pd141
1 files changed, 113 insertions, 28 deletions
diff --git a/pix_opencv_contours-help.pd b/pix_opencv_contours-help.pd
index 2aa9bb1..ffde46b 100644
--- a/pix_opencv_contours-help.pd
+++ b/pix_opencv_contours-help.pd
@@ -1,4 +1,4 @@
-#N canvas 757 219 794 706 10;
+#N canvas 968 140 794 706 10;
#X obj 472 35 cnv 15 300 400 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
@@ -42,12 +42,12 @@
#X text 354 314 Create window:;
#X text 30 329 Inlet 1: binarized image;
#X text 20 448 info;
-#X text 30 519 <number of segments> <2> <x \, y corner coordinate pairs>
+#X text 30 529 <number of segments> <2> <x \, y corner coordinate pairs>
;
#X text 25 397 Outlet 1: gemlist output;
#X text 25 417 Outlet 3: info output;
#X text 37 5 Synopsis: [pix_opencv_contours];
-#X text 21 508 contour (for each of them);
+#X text 21 518 contour (for each of them);
#X text 37 75 [pix_opencv_contours] finds contours in incomming image
\, simplifies it according to the epsilon value and outputs contours
with area greater than a threshold.;
@@ -62,14 +62,11 @@ and cenvexity defects;
;
#X text 37 235 so this external replaces all old pix_opencv_contours_*
;
-#X text 29 458 <contour area> <rotrect corners coordinates (8 floats)>
-<rotrect center position (2 floats)> <rotrect size (2 floats)> <angle
-in degrees> <number of points> 0 0 0 0 0;
-#X text 30 549 <number of segments> <2> <x \, y corner coordinate pairs>
+#X text 30 559 <number of segments> <2> <x \, y corner coordinate pairs>
;
-#X text 21 536 convexhull (for each contour);
-#X text 20 567 convexixitydefects (for each contour);
-#X text 30 579 <number of segments> <7> <start point (2 floats)> <end
+#X text 21 546 convexhull (for each contour);
+#X text 20 577 convexixitydefects (for each contour);
+#X text 30 589 <number of segments> <7> <start point (2 floats)> <end
point (2 floats)> <depth point (2 floats)> depth;
#X text 26 649 by antoine villeret - 2012;
#X text 16 669 bug \, feedback \, comment... on the pd-list;
@@ -388,26 +385,114 @@ point (2 floats)> <depth point (2 floats)> depth;
#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;
+#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
+0;
+#X obj 4 342 cnv 15 300 20 empty empty empty 20 12 0 14 -4034 -66577
+0;
+#X obj 54 384 cnv 15 350 60 empty empty empty 20 12 0 14 -4034 -66577
+0;
+#X obj 152 -29 cnv 15 100 40 empty empty empty 20 12 0 14 -4034 -66577
+0;
+#X obj -131 247 cnv 15 330 50 empty empty empty 20 12 0 14 -4034 -66577
+0;
+#X obj 105 16 inlet;
+#X obj 105 67 list split 2;
+#X obj 139 97 list split 20;
+#X text 189 70 cut matrix header;
+#X text 226 98 cut infos for the 1st contour;
+#X obj 77 154 list split 1;
+#X floatatom 77 216 5 0 0 0 - - -;
+#X obj 201 284 unpack;
+#X floatatom 201 304 5 0 0 0 - - -;
+#X floatatom 234 304 5 0 0 0 - - -;
+#X obj 105 38 route info;
+#X text -65 304 rotated rectangle center point (normalized);
+#X obj 201 234 list split 2;
+#X obj 235 324 unpack;
+#X floatatom 235 344 5 0 0 0 - - -;
+#X floatatom 268 344 5 0 0 0 - - -;
+#X obj 235 254 list split 2;
+#X text 19 344 rotated rectangle size (normalized);
+#X text -60 214 contour area in pixels;
+#X floatatom 269 384 5 0 0 0 - - -;
+#X floatatom 303 404 5 0 0 0 - - -;
+#X text 68 384 rotated rectangle angle (degrees);
+#X obj 111 174 list split 8;
+#X floatatom 174 -7 5 0 0 0 - - -;
+#X obj 174 12 * 20;
+#X obj 174 34 + 2;
+#X obj 269 364 unpack f f f;
+#X text 188 403 number of segments;
+#X floatatom 338 424 5 0 0 0 - - -;
+#X text 154 -25 selected contour;
+#X obj -4 86 unpack;
+#X floatatom -4 107 5 0 0 0 - - -;
+#X floatatom 29 128 5 0 0 0 - - -;
+#X text -172 104 number of detected contours;
+#X text -181 127 numbers of values for each contour;
+#X obj 111 194 list prepend set;
+#X obj 111 214 list trim;
+#X msg -120 262 0.827996 0.211303 0.774474 0.147076 0.80827 0.0970073
+0.861792 0.161234;
+#X text -123 245 rotrect corners coordinates;
+#X text 160 424 length of contour (in pixels);
+#X connect 6 0 16 0;
+#X connect 7 0 36 0;
+#X connect 7 1 8 0;
+#X connect 8 0 11 0;
+#X connect 11 0 12 0;
+#X connect 11 1 28 0;
+#X connect 13 0 14 0;
+#X connect 13 1 15 0;
+#X connect 16 0 7 0;
+#X connect 18 0 13 0;
+#X connect 18 1 22 0;
+#X connect 19 0 20 0;
+#X connect 19 1 21 0;
+#X connect 22 0 19 0;
+#X connect 22 1 32 0;
+#X connect 28 0 41 0;
+#X connect 28 1 18 0;
+#X connect 29 0 30 0;
+#X connect 30 0 31 0;
+#X connect 31 0 7 1;
+#X connect 32 0 25 0;
+#X connect 32 1 26 0;
+#X connect 32 2 34 0;
+#X connect 36 0 37 0;
+#X connect 36 1 38 0;
+#X connect 36 1 30 1;
+#X connect 41 0 42 0;
+#X connect 42 0 43 0;
+#X restore 675 294 pd info;
+#X text 29 458 <num of contour> 20 <contour area> <rotrect corners
+coordinates (8 floats)> <rotrect center position (2 floats)> <rotrect
+size (2 floats)> <angle in degrees> <number of points> <contour length>
+0 0 0 0;
#X connect 13 0 14 0;
#X connect 14 0 13 0;
-#X connect 40 0 48 0;
-#X connect 41 0 55 0;
+#X connect 39 0 47 0;
+#X connect 40 0 54 0;
+#X connect 41 0 40 0;
#X connect 42 0 41 0;
+#X connect 42 1 55 0;
#X connect 43 0 42 0;
-#X connect 43 1 56 0;
-#X connect 44 0 43 0;
-#X connect 45 0 55 0;
-#X connect 46 0 45 0;
-#X connect 47 0 53 0;
-#X connect 47 0 52 0;
-#X connect 49 0 42 0;
-#X connect 49 1 40 0;
-#X connect 50 0 55 0;
+#X connect 44 0 54 0;
+#X connect 45 0 44 0;
+#X connect 46 0 52 0;
+#X connect 46 0 51 0;
+#X connect 48 0 41 0;
+#X connect 48 1 39 0;
+#X connect 49 0 54 0;
+#X connect 50 0 49 0;
#X connect 51 0 50 0;
-#X connect 52 0 51 0;
-#X connect 53 0 46 0;
-#X connect 55 1 57 0;
-#X connect 55 1 65 0;
-#X connect 55 2 54 0;
-#X connect 56 0 49 0;
-#X connect 58 0 55 0;
+#X connect 52 0 45 0;
+#X connect 54 1 56 0;
+#X connect 54 1 64 0;
+#X connect 54 2 53 0;
+#X connect 54 2 65 0;
+#X connect 55 0 48 0;
+#X connect 57 0 54 0;