主题:求助:MATLAB的Canny算子的边缘检测算法
请大家帮我看看这个错误是怎么回事??
BW9 = edge(I,'canny',0.2);
??? Error using ==> images\private\checknargin
Function BWMORPH expected at least 4 input arguments
but was called instead with 3 input arguments.
Error in ==> bwmorph at 89
checknargin(4,Inf,nargin,mfilename)
Error in ==> edge at 259
e = bwmorph(e, 'thin', 1); % Thin double (or triple) pixel wide contours
不知道这是怎么回事,还请指教
BW9 = edge(I,'canny',0.2);
??? Error using ==> images\private\checknargin
Function BWMORPH expected at least 4 input arguments
but was called instead with 3 input arguments.
Error in ==> bwmorph at 89
checknargin(4,Inf,nargin,mfilename)
Error in ==> edge at 259
e = bwmorph(e, 'thin', 1); % Thin double (or triple) pixel wide contours
不知道这是怎么回事,还请指教