aboutsummaryrefslogtreecommitdiff
path: root/abstractions/pdp_conv_sobel_hor.pd
diff options
context:
space:
mode:
Diffstat (limited to 'abstractions/pdp_conv_sobel_hor.pd')
-rw-r--r--abstractions/pdp_conv_sobel_hor.pd15
1 files changed, 15 insertions, 0 deletions
diff --git a/abstractions/pdp_conv_sobel_hor.pd b/abstractions/pdp_conv_sobel_hor.pd
new file mode 100644
index 0000000..599034e
--- /dev/null
+++ b/abstractions/pdp_conv_sobel_hor.pd
@@ -0,0 +1,15 @@
+#N canvas 222 642 591 202 10;
+#X obj 29 55 inlet;
+#X obj 29 132 outlet;
+#X obj 29 93 pdp_conv;
+#X obj 108 9 loadbang;
+#X msg 108 37 vmask 0.5 1 0.5;
+#X msg 108 60 hmask -1 0 1;
+#X text 108 101 this uses pdp_conv to produce the vertical sobel edge
+detector with convolution mask (-.5 0 0.5 \; -1 0 1 \; -0.5 0 .5);
+#X connect 0 0 2 0;
+#X connect 2 0 1 0;
+#X connect 3 0 4 0;
+#X connect 4 0 2 0;
+#X connect 4 0 5 0;
+#X connect 5 0 2 0;