diff options
Diffstat (limited to 'macros/convolver.sci')
-rw-r--r-- | macros/convolver.sci | 8 |
1 files changed, 8 insertions, 0 deletions
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 |