diff options
Diffstat (limited to 'macros/imrect.sci')
-rw-r--r-- | macros/imrect.sci | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/imrect.sci b/macros/imrect.sci new file mode 100644 index 0000000..a1ed7fa --- /dev/null +++ b/macros/imrect.sci @@ -0,0 +1,8 @@ +function [output] = imrect(img,pstDataX,pstDataY) + image = mattolist(img); + a = opencv_imrect(image,pstDataX,pstDataY) + d = size(a); + for i=1:size + output(:,:,i) = a(i); + end +endfunction |