diff options
Diffstat (limited to 'pix_opencv_hu_compare-help.pd')
-rw-r--r-- | pix_opencv_hu_compare-help.pd | 240 |
1 files changed, 0 insertions, 240 deletions
diff --git a/pix_opencv_hu_compare-help.pd b/pix_opencv_hu_compare-help.pd deleted file mode 100644 index 413d8bc..0000000 --- a/pix_opencv_hu_compare-help.pd +++ /dev/null @@ -1,240 +0,0 @@ -#N canvas 542 83 1154 759 10; -#X obj 937 -7 gemhead; -#X obj 375 543 pix_texture; -#X obj 374 566 square 2; -#X obj 9 -28 cnv 15 220 70 empty empty empty 20 12 0 14 -195568 -66577 -0; -#N canvas 0 22 454 304 gemwin 0; -#X obj 67 89 outlet; -#X obj 67 10 inlet; -#X obj 67 41 route create; -#X msg 67 70 set destroy; -#X msg 182 68 set create; -#N canvas 87 154 247 179 Gem.init 0; -#X obj 118 46 loadbang; -#X msg 118 81 reset; -#X obj 118 113 outlet; -#X connect 0 0 1 0; -#X connect 1 0 2 0; -#X restore 289 80 pd Gem.init; -#X obj 160 260 gemwin; -#X msg 159 207 create \, 1; -#X msg 235 208 destroy; -#X msg 281 180 frame 25; -#X obj 162 170 t b b b; -#X connect 1 0 2 0; -#X connect 2 0 3 0; -#X connect 2 0 10 0; -#X connect 2 1 4 0; -#X connect 2 1 8 0; -#X connect 3 0 0 0; -#X connect 4 0 0 0; -#X connect 7 0 6 0; -#X connect 8 0 6 0; -#X connect 9 0 6 0; -#X connect 10 0 7 0; -#X connect 10 2 9 0; -#X restore 14 16 pd gemwin; -#X msg 14 -5 create; -#X text 15 -23 Create window and render; -#X obj 353 225 cnv 15 700 300 empty empty empty 20 12 0 14 -24198 -66577 -0; -#X obj 619 -90 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 676 85 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144 --1 -1; -#X floatatom 658 50 5 0 10000 1 frame# - -; -#X obj 619 -61 openpanel; -#X msg 619 -41 open \$1; -#X obj 607 68 pix_film; -#X msg 625 2 auto \$1; -#X obj 625 -16 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 -1; -#X obj 373 395 pix_opencv_hu_compare; -#X floatatom 491 481 30 0 0 0 - - -; -#X text 496 464 distance; -#X obj 707 499 route 1; -#X obj 759 499 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 --1 -1; -#X obj 668 500 < 0.1; -#X obj 768 479 hsl 128 15 0 0.2 0 0 cdist empty empty -2 -8 0 10 -262144 --1 -1 0 1; -#X text 788 499 criteria value; -#X floatatom 686 481 10 0 0 0 - - -; -#X text 528 376 calculating their hu moments ( CvMatchShape ); -#X text 527 364 compares the contours to the pattern reference contour -; -#X msg 511 333 criteria \$1; -#X obj 595 334 r cdist; -#X text 648 328 criteria value under which the contour is recongnized -; -#X text 646 339 ( adjust to your situation : default : 0.1 ); -#X obj 575 283 hradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 --1 -1 0; -#X text 626 277 method used for comparison : one of : CV_CONTOURS_MATCH_I1 -\, CV_CONTOURS_MATCH_I2 or CV_CONTOURS_MATCH_I3; -#X obj 547 282 + 1; -#X msg 477 282 method \$1; -#X msg 463 255 minsize \$1; -#X floatatom 537 256 5 0 0 0 - - -; -#X text 578 256 minimum size of selected contours ( default : 10x10 -); -#X msg 513 304 clear; -#X text 621 304 recalculates the pattern contour; -#X obj 562 305 r reset; -#X text 12 -57 Written by Yves Degoyon ( ydegoyon@gmail.com ); -#X text 13 -85 pix_opencv_hu_compare :: compare contours using their -hu moments using CvMatchShape.; -#X text 666 -88 playing a video file; -#X text 684 -75 ( try estrella.mov ); -#X msg 854 -80 bang; -#X text 900 -87 loading a pattern image; -#X text 899 -74 ( try estrella.jpg ); -#X text 853 -105 Compare to a pattern; -#X obj 854 -4 pix_image; -#X obj 856 -53 openpanel; -#X msg 855 -26 open \$1; -#X floatatom 1007 113 5 0 0 0 - - -; -#X text 836 192 threshold (default 13) to use when comparing pixel -colors; -#X obj 1075 86 loadbang; -#X msg 1044 86 160; -#X obj 976 85 r tresh; -#X floatatom 511 185 5 0 0 0 - - -; -#X obj 579 183 loadbang; -#X msg 551 183 160; -#X obj 512 203 s tresh; -#X obj 985 145 pix_texture; -#X obj 853 112 pix_opencv_threshold; -#X obj 378 204 pix_opencv_threshold; -#X obj 985 173 square 2; -#X obj 853 58 translateXYZ -2 0 0; -#X obj 854 26 pix_resize 320 240; -#X obj 373 130 pix_resize 320 240; -#X obj 683 -24 loadbang; -#X msg 683 1 colorspace RGBA; -#X msg 685 22 colorspace RGB; -#X msg 746 -25 colorspace Grey; -#X obj 687 -52 gemhead; -#X obj 376 180 translateXYZ 2 0 0; -#N canvas 0 22 450 300 vswitch 0; -#X obj 144 263 outlet; -#X obj 36 26 inlet; -#X obj 260 29 inlet; -#X obj 36 133 spigot; -#X obj 260 141 spigot; -#X obj 119 64 loadbang; -#X msg 83 93 0; -#X msg 113 93 1; -#X msg 296 104 0; -#X msg 326 104 1; -#X obj 399 34 inlet; -#X obj 399 67 select 0; -#X connect 1 0 3 0; -#X connect 2 0 4 0; -#X connect 3 0 0 0; -#X connect 4 0 0 0; -#X connect 5 0 7 0; -#X connect 5 0 8 0; -#X connect 6 0 3 1; -#X connect 7 0 3 1; -#X connect 8 0 4 1; -#X connect 9 0 4 1; -#X connect 10 0 11 0; -#X connect 11 0 7 0; -#X connect 11 0 8 0; -#X connect 11 1 9 0; -#X connect 11 1 6 0; -#X restore 375 98 pd vswitch; -#X obj 443 98 tgl 15 0 empty load empty 17 7 0 10 -262144 -1 -1 0 1 -; -#X obj 374 60 pix_video; -#X obj 378 -88 gemhead; -#X msg 413 -15 device 0; -#X msg 422 16 driver 1; -#X msg 399 -69 dialog; -#X msg 404 -39 device /dev/dv1394-0; -#X obj 547 415 unpack f f f f f; -#X text 661 415 position of detected contours; -#X floatatom 570 437 5 0 0 0 - - -; -#X floatatom 608 438 5 0 0 0 - - -; -#X floatatom 648 437 5 0 0 0 - - -; -#X floatatom 691 438 5 0 0 0 - - -; -#X text 577 450 X; -#X text 616 449 Y; -#X text 648 449 width; -#X text 689 450 height; -#X obj 373 156 pix_rgba; -#X obj 850 150 pix_rgba; -#X connect 0 0 49 0; -#X connect 1 0 2 0; -#X connect 4 0 5 0; -#X connect 5 0 4 0; -#X connect 8 0 11 0; -#X connect 9 0 10 0; -#X connect 10 0 13 1; -#X connect 11 0 12 0; -#X connect 12 0 13 0; -#X connect 13 0 74 1; -#X connect 13 2 9 0; -#X connect 14 0 13 0; -#X connect 15 0 14 0; -#X connect 16 0 1 0; -#X connect 16 1 17 0; -#X connect 16 2 82 0; -#X connect 17 0 21 0; -#X connect 19 0 20 0; -#X connect 21 0 19 0; -#X connect 22 0 21 1; -#X connect 22 0 24 0; -#X connect 27 0 16 0; -#X connect 28 0 27 0; -#X connect 31 0 33 0; -#X connect 33 0 34 0; -#X connect 34 0 16 0; -#X connect 35 0 16 0; -#X connect 36 0 35 0; -#X connect 38 0 16 0; -#X connect 40 0 38 0; -#X connect 45 0 50 0; -#X connect 49 0 66 0; -#X connect 50 0 51 0; -#X connect 51 0 49 0; -#X connect 52 0 62 2; -#X connect 54 0 55 0; -#X connect 55 0 52 0; -#X connect 56 0 52 0; -#X connect 57 0 60 0; -#X connect 57 0 63 2; -#X connect 58 0 59 0; -#X connect 59 0 57 0; -#X connect 61 0 64 0; -#X connect 62 0 61 0; -#X connect 62 0 93 0; -#X connect 63 0 16 0; -#X connect 65 0 62 0; -#X connect 66 0 65 0; -#X connect 67 0 92 0; -#X connect 68 0 69 0; -#X connect 69 0 13 0; -#X connect 69 0 49 0; -#X connect 70 0 49 0; -#X connect 70 0 13 0; -#X connect 71 0 13 0; -#X connect 71 0 49 0; -#X connect 72 0 13 0; -#X connect 73 0 63 0; -#X connect 74 0 67 0; -#X connect 75 0 74 2; -#X connect 76 0 74 0; -#X connect 77 0 76 0; -#X connect 78 0 76 0; -#X connect 79 0 76 0; -#X connect 80 0 76 0; -#X connect 81 0 76 0; -#X connect 82 1 84 0; -#X connect 82 2 85 0; -#X connect 82 3 86 0; -#X connect 82 4 87 0; -#X connect 92 0 73 0; -#X connect 93 0 16 1; |