主题:大家看看edge错在什么地方?
I = imread('che.tif');
BW1 = edge(I,'prewitt');
BW2 = edge(I,'canny');
imshow(BW1);
figure, imshow(BW2)
出错提示
??? Attempt to execute SCRIPT edge as a function.
Error in ==> che at 2
BW1 = edge(I,'prewitt');
BW1 = edge(I,'prewitt');
BW2 = edge(I,'canny');
imshow(BW1);
figure, imshow(BW2)
出错提示
??? Attempt to execute SCRIPT edge as a function.
Error in ==> che at 2
BW1 = edge(I,'prewitt');