summaryrefslogtreecommitdiff
path: root/macros/dilate.sci
blob: 0c215115bc6c9f3f173b58ffb6243ed87fbf905c (plain)
1
2
3
4
5
6
7
8
function [out]=dilate(input_image,actualkernel,anchor_x,anchor_y,iteration)
         input_image1=mattolist(input_image);
         a=opencv_dilate(input_image1,actualkernel,anchor_x,anchor_y,iteration);
         dimension=size(a)
         for i = 1:dimension
              out(:,:,i)=a(i);
         end
endfunction;