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