summaryrefslogtreecommitdiff
path: root/macros/gaussianblur.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gaussianblur.sci')
-rw-r--r--macros/gaussianblur.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/gaussianblur.sci b/macros/gaussianblur.sci
new file mode 100644
index 0000000..8b6b0c1
--- /dev/null
+++ b/macros/gaussianblur.sci
@@ -0,0 +1,7 @@
+function [outputImg]= gaussianblur(inputImage,ksize_height,ksize_width,sigmaX,sigmaY)
+ inputList=mattolist(inputImage);
+ outputList=opencv_gaussianblur(inputList,ksize_height,ksize_width,sigmaX,sigmaY);
+ for i=1:size(outputList)
+ outputImg(:,:,i)=outputList(i)
+ end
+endfunction