summaryrefslogtreecommitdiff
path: root/macros/pyrDown.sci
blob: 999adb868946db3ee82dcbc88ad8b311d601ea45 (plain)
1
2
3
4
5
6
7
8
9
function [out]=pyrDown(input_image, dstsize_width, distsize_height, border)
         input_image1=mattolist(input_image);
         a=opencv_pyrDown(input_image1, dstsize_width, distsize_height, border);
         dimension=size(a)
         for i = 1:dimension
              out(:,:,i)=a(i);
         end
     
endfunction;