summaryrefslogtreecommitdiff
path: root/macros/warpaffine.sci
blob: 9067959dbc717a9ccfa4059274ede5342180ce90 (plain)
1
2
3
4
5
6
7
8
function [out]=warpaffine(src,M,size_x,size_y ,flag,borderMode)
          image1=mattolist(src);
         a=opencv_warpaffine(image1,M,size_x,size_y ,flag, borderMode);
         dimension=size(a)
         for i = 1:dimension
              out(:,:,i)=a(i);
         end
endfunction;