来源:matlab帮助文件
%%LeakageFactor) w + (StepSize) u*sgn(Re(e)), for sign LMS
%%(LeakageFactor) w + (StepSize) sgn(Re(u)) Re(e), for signed regressor LMS
%%(LeakageFactor) w + (StepSize) sgn(Re(u ...
此程序为优化后的分水岭算法,避免了图像过分割
I= imread('D:\Images\pic_loc\1870405130305041503.jpg');
imshow(I);
h=fspecial('sobel'); %h = fspecial(type) creates a two-dimensional filter h of the ...