summaryrefslogtreecommitdiff
path: root/macros/imshowpair.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/imshowpair.sci')
-rw-r--r--macros/imshowpair.sci8
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/imshowpair.sci b/macros/imshowpair.sci
new file mode 100644
index 0000000..0df086a
--- /dev/null
+++ b/macros/imshowpair.sci
@@ -0,0 +1,8 @@
+function [outputImg]=imshowpair(inputImage1,inputImage2,method,scale)
+ inputList1=mattolist(inputImage1);
+ inputList2=mattolist(inputImage2);
+ outputList=opencv_imshowpair(inputList1,inputList2,method,scale);
+ for i=1:size(outputList)
+ outputImg(:,:,i)=outputList(i)
+ end
+endfunction