运行matlab软件时出Attempt to execute SCRIPT hough as a function.错误
运行hough时出现AttempttoexecuteSCRIPThoughasafunction.提示的错误,哪位高手给解答一下是怎么回事。具体的程序如下:I1=imre...
运行hough时出现Attempt to execute SCRIPT hough as a function.提示的错误,哪位高手给解答一下是怎么回事。具体的程序如下:
I1=imread('jing.bmp');
I=rgb2gray(I1);
BW=edge(I,'canny');
[H,T,R]=hough(BW);
imshow(H,[],'XData',T,'YData',R,'InitialMagnification','fit');
axis normal,hold on;
去了[],还是不行,出现同样的提示,我用help提供的hough函数的举例,运行后也是这种情况,到底是怎么回事啊,大家帮忙想想,答对了加分啊 展开
I1=imread('jing.bmp');
I=rgb2gray(I1);
BW=edge(I,'canny');
[H,T,R]=hough(BW);
imshow(H,[],'XData',T,'YData',R,'InitialMagnification','fit');
axis normal,hold on;
去了[],还是不行,出现同样的提示,我用help提供的hough函数的举例,运行后也是这种情况,到底是怎么回事啊,大家帮忙想想,答对了加分啊 展开
展开全部
我来告诉楼主吧,matlab函数中根本没有hough这个函数,hough变换是要自己编
的。。。。
看我help hough的结果
hough.m not found.
Use the Help browser Search tab to search the documentation, or
type "help help" for help command options, such as help for methods.
楼主如果需要hough变换的代码可以找我。。
的。。。。
看我help hough的结果
hough.m not found.
Use the Help browser Search tab to search the documentation, or
type "help help" for help command options, such as help for methods.
楼主如果需要hough变换的代码可以找我。。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询