Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
初级会员
注册日期: 2009-01-02
年龄: 43
帖子: 1
声望力: 0 ![]() |
![]()
我在Matlab2007和2008中想执行hough transform,我按照例子的代码,
>> RGB = imread('coins.png'); >> I = rgb2gray(RGB); % convert to intensity >> BW = edge(I,'canny'); % extract edges >> [H,T,R] = hough(BW,'RhoResolution',0.5,'ThetaResolution',0.5); 但是有如下的报错, ??? Undefined function or method 'houghmex' for input arguments of type 'double'. Error in ==> hough at 83 h = houghmex(bw,rho,theta*pi/180); 2007和2008都是相同的问题,代码是按照help的例子,实在是想不通啊! 有没有高人能指点一下,先谢谢了! |
![]() |
![]() |