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