当我尝试跑步时
BW = edge(im,'canny')
我的图像在哪里im
(256X256 uint8
)。
这是我得到的错误:
Error using gradient (line 3)
Not enough input arguments.
Error in edge>smoothGradient (line 709)
derivGaussKernel = gradient(gaussKernel);
Error in edge (line 213)
[dx, dy] = smoothGradient(a, sigma);
Error in ps_1_1 (line 2)
BW = edge(im,'canny')