summaryrefslogtreecommitdiff
path: root/macros/imwarp.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/imwarp.sci')
-rw-r--r--macros/imwarp.sci8
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/imwarp.sci b/macros/imwarp.sci
new file mode 100644
index 0000000..a920ffa
--- /dev/null
+++ b/macros/imwarp.sci
@@ -0,0 +1,8 @@
+function [output] = imwarp(img,matrix)
+ image = mattolist(img);
+ a = imwarp(image,matrix)
+ d = size(a)
+ for i=1:d
+ output(:,:,i) = a(i);
+ end
+endfunction