summaryrefslogtreecommitdiff
path: root/macros/medianblur.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/medianblur.sci')
-rw-r--r--macros/medianblur.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/medianblur.sci b/macros/medianblur.sci
new file mode 100644
index 0000000..128edcd
--- /dev/null
+++ b/macros/medianblur.sci
@@ -0,0 +1,7 @@
+function outputImg= medianblur(inputImage,ksize)
+ inputList=mattolist(inputImage);
+ outputList=opencv_medianblur(inputList,ksize)
+ for i=1:size(outputList)
+ outputImg(:,:,i)=outputList(i)
+ end
+endfunction