From db131dd7f6e5f9c222198a74b3f11e7f99f4da70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?llu=C3=ADs=20g=C3=B3mez=20i=20bigord=C3=A0?= Date: Sun, 25 May 2008 21:32:41 +0000 Subject: First svn commit svn path=/trunk/externals/pdp_opencv/; revision=9912 --- help_pdp_opencv_contours_convexity.pd | 92 +++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 help_pdp_opencv_contours_convexity.pd (limited to 'help_pdp_opencv_contours_convexity.pd') diff --git a/help_pdp_opencv_contours_convexity.pd b/help_pdp_opencv_contours_convexity.pd new file mode 100644 index 0000000..ed33908 --- /dev/null +++ b/help_pdp_opencv_contours_convexity.pd @@ -0,0 +1,92 @@ +#N canvas 0 25 1247 665 10; +#X obj 143 68 pdp_v4l2; +#X msg 211 33 open /dev/video0; +#X obj 143 414 pdp_xv; +#X floatatom -128 627 5 0 0 0 - - -; +#X floatatom -93 627 5 0 0 0 - - -; +#X floatatom -63 608 5 0 0 0 - - -; +#X floatatom -29 608 5 0 0 0 - - -; +#X obj 341 445 route 0 1 2 3 4; +#X floatatom 207 311 5 0 0 0 - - -; +#X floatatom 269 327 5 0 0 0 - - -; +#X obj 143 350 pdp_opencv_contours_convexity; +#X floatatom 308 120 5 0 0 0 - - -; +#X msg 235 81 set; +#X obj 143 116 pdp_opencv_bgsubstract; +#X text 247 309 minarea (default 1); +#X text 316 326 maxarea (dfault 76800); +#X obj -94 563 unpack 0 0 0 0 0 0; +#X floatatom 1 589 5 0 0 0 - - -; +#X floatatom 35 589 5 0 0 0 - - -; +#X text 451 446 For each convexity defect in our contour; +#X text -55 628 Start point (X -Y); +#X text 9 608 Depth point (X -Y); +#X text 74 590 End point (X -Y); +#X floatatom 180 627 5 0 0 0 - - -; +#X floatatom 215 627 5 0 0 0 - - -; +#X floatatom 245 608 5 0 0 0 - - -; +#X floatatom 279 608 5 0 0 0 - - -; +#X obj 214 563 unpack 0 0 0 0 0 0; +#X floatatom 309 589 5 0 0 0 - - -; +#X floatatom 343 589 5 0 0 0 - - -; +#X text 253 628 Start point (X -Y); +#X text 317 608 Depth point (X -Y); +#X text 382 590 End point (X -Y); +#X floatatom 498 634 5 0 0 0 - - -; +#X floatatom 533 634 5 0 0 0 - - -; +#X floatatom 563 615 5 0 0 0 - - -; +#X floatatom 597 615 5 0 0 0 - - -; +#X obj 532 570 unpack 0 0 0 0 0 0; +#X floatatom 627 596 5 0 0 0 - - -; +#X floatatom 661 596 5 0 0 0 - - -; +#X text 571 635 Start point (X -Y); +#X text 635 615 Depth point (X -Y); +#X text 700 597 End point (X -Y); +#X floatatom 806 634 5 0 0 0 - - -; +#X floatatom 841 634 5 0 0 0 - - -; +#X floatatom 871 615 5 0 0 0 - - -; +#X floatatom 905 615 5 0 0 0 - - -; +#X obj 840 570 unpack 0 0 0 0 0 0; +#X floatatom 935 596 5 0 0 0 - - -; +#X floatatom 969 596 5 0 0 0 - - -; +#X text 879 635 Start point (X -Y); +#X text 943 615 Depth point (X -Y); +#X text 1008 597 End point (X -Y); +#X floatatom 242 381 5 0 0 0 - - -; +#X text 238 396 number convexity defects; +#X connect 0 0 13 0; +#X connect 1 0 0 0; +#X connect 7 0 16 0; +#X connect 7 1 27 0; +#X connect 7 2 37 0; +#X connect 7 3 47 0; +#X connect 10 0 2 0; +#X connect 10 1 53 0; +#X connect 10 2 7 0; +#X connect 11 0 13 1; +#X connect 12 0 13 0; +#X connect 13 0 10 0; +#X connect 16 0 3 0; +#X connect 16 1 4 0; +#X connect 16 2 5 0; +#X connect 16 3 6 0; +#X connect 16 4 17 0; +#X connect 16 5 18 0; +#X connect 27 0 23 0; +#X connect 27 1 24 0; +#X connect 27 2 25 0; +#X connect 27 3 26 0; +#X connect 27 4 28 0; +#X connect 27 5 29 0; +#X connect 37 0 33 0; +#X connect 37 1 34 0; +#X connect 37 2 35 0; +#X connect 37 3 36 0; +#X connect 37 4 38 0; +#X connect 37 5 39 0; +#X connect 47 0 43 0; +#X connect 47 1 44 0; +#X connect 47 2 45 0; +#X connect 47 3 46 0; +#X connect 47 4 48 0; +#X connect 47 5 49 0; -- cgit v1.2.1