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