summaryrefslogtreecommitdiff
path: root/macros/dilate.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/dilate.sci')
-rw-r--r--macros/dilate.sci8
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/dilate.sci b/macros/dilate.sci
new file mode 100644
index 0000000..0c21511
--- /dev/null
+++ b/macros/dilate.sci
@@ -0,0 +1,8 @@
+function [out]=dilate(input_image,actualkernel,anchor_x,anchor_y,iteration)
+ input_image1=mattolist(input_image);
+ a=opencv_dilate(input_image1,actualkernel,anchor_x,anchor_y,iteration);
+ dimension=size(a)
+ for i = 1:dimension
+ out(:,:,i)=a(i);
+ end
+endfunction;