From a6df67e8bcd5159cde27556f4f6a315f8dc2215f Mon Sep 17 00:00:00 2001 From: shamikam Date: Mon, 16 Jan 2017 02:56:17 +0530 Subject: First Commit --- macros/convolver.sci | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 macros/convolver.sci (limited to 'macros/convolver.sci') diff --git a/macros/convolver.sci b/macros/convolver.sci new file mode 100644 index 0000000..ac75c19 --- /dev/null +++ b/macros/convolver.sci @@ -0,0 +1,8 @@ +function [output] = convolver(image1,ksize,values1,scalar) + image = mattolist(image1) + a = opencv_convolver(image,ksize,values1,scalar); + d = size(a); + for i = 1:d + output(:,:,i) = a(i); + end +endfunction -- cgit