summaryrefslogtreecommitdiff
path: root/macros/canny.sci
blob: 0cb9ed7b0203aa7925b32ffd90ca00607f3ab4cf (plain)
1
2
3
4
5
6
7
8
9
function [out]=canny(input_image ,aperture, threshold1, threshold2, gradient)
         input_image1=mattolist(input_image);
         a=opencv_canny(input_image1 , aperture, threshold1, threshold2, gradient);
         dimension=size(a)
         for i = 1:dimension
              out(:,:,i)=a(i);
         end
     
endfunction;