summaryrefslogtreecommitdiff
path: root/macros/imgaborfit.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/imgaborfit.sci')
-rw-r--r--macros/imgaborfit.sci13
1 files changed, 13 insertions, 0 deletions
diff --git a/macros/imgaborfit.sci b/macros/imgaborfit.sci
new file mode 100644
index 0000000..3adfbf8
--- /dev/null
+++ b/macros/imgaborfit.sci
@@ -0,0 +1,13 @@
+function new_image = imgaborfit(image, wavelength, orientation)
+
+ image_list = mattolist(image)
+
+ out = opencv_imgaborfit(image_list, wavelength, orientation)
+
+ sz = size(out)
+
+ for i=1:sz
+ new_image(:, :, i) = out(i)
+ end
+
+endfunction