aboutsummaryrefslogtreecommitdiff
path: root/help_pdp_opencv_distrans.pd
diff options
context:
space:
mode:
Diffstat (limited to 'help_pdp_opencv_distrans.pd')
-rw-r--r--help_pdp_opencv_distrans.pd45
1 files changed, 45 insertions, 0 deletions
diff --git a/help_pdp_opencv_distrans.pd b/help_pdp_opencv_distrans.pd
new file mode 100644
index 0000000..f523ce2
--- /dev/null
+++ b/help_pdp_opencv_distrans.pd
@@ -0,0 +1,45 @@
+#N canvas 575 65 521 599 10;
+#X obj 101 158 pdp_xv;
+#X obj 101 -2 pdp_qt;
+#X obj 134 -66 metro 40;
+#X msg 134 -94 bang;
+#X msg 175 -94 stop;
+#X obj 101 -163 openpanel;
+#X msg 101 -138 open \$1;
+#X msg 101 -191 bang;
+#X msg 135 -39 loop \$1;
+#X obj 215 -39 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+1;
+#X floatatom 276 106 5 0 0 0 - - -;
+#X obj 101 99 pdp_opencv_distrans;
+#X text 315 107 edge threshold;
+#X obj 215 -121 loadbang;
+#X text 170 -196 1 first load a video file;
+#X msg 253 23 type 3;
+#X msg 263 43 type 5;
+#X msg 273 62 type 0;
+#X msg 251 -2 voronoi \$1;
+#X obj 342 -2 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X text 361 -2 switch Voronoi diagram mode on/off;
+#X text 310 24 use 3x3 mask;
+#X text 320 43 use 5x5 mask;
+#X text 326 62 use precise distance transform;
+#X connect 1 0 11 0;
+#X connect 2 0 1 0;
+#X connect 3 0 2 0;
+#X connect 4 0 2 0;
+#X connect 5 0 6 0;
+#X connect 6 0 1 0;
+#X connect 7 0 5 0;
+#X connect 8 0 1 0;
+#X connect 9 0 8 0;
+#X connect 10 0 11 1;
+#X connect 11 0 0 0;
+#X connect 13 0 9 0;
+#X connect 13 0 3 0;
+#X connect 15 0 11 0;
+#X connect 16 0 11 0;
+#X connect 17 0 11 0;
+#X connect 18 0 11 0;
+#X connect 19 0 18 0;