summaryrefslogtreecommitdiff
path: root/macros/imimposemin.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/imimposemin.sci')
-rw-r--r--macros/imimposemin.sci11
1 files changed, 11 insertions, 0 deletions
diff --git a/macros/imimposemin.sci b/macros/imimposemin.sci
new file mode 100644
index 0000000..1d0d582
--- /dev/null
+++ b/macros/imimposemin.sci
@@ -0,0 +1,11 @@
+function[dstMat] = imimposemin(maskImg, markerImg)
+
+ out = opencv_imimposemin(maskImg, markerImg)
+
+ channel = size(out)
+
+ for i = 1: channel
+ dstMat(:,:,i) = out(i)
+ end
+
+endfunction