summaryrefslogtreecommitdiff
path: root/macros/erode.sci
blob: 336e2202a00999cb0033aaaac745fda8e1e76b7c (plain)
1
2
3
4
5
6
7
8
9
function [out]=erode(input_image ,kernel,actualkernel,anchorX,anchorY)
input_image1=mattolist(input_image);
         a=opencv_erode(input_image1 ,kernel,actualkernel,anchorX,anchorY);
         dimension=size(a)
         for i = 1:dimension
              out(:,:,i)=a(i);
         end
     
endfunction;