ox06 发表于 2009-3-3 15:06

求助:用hough做直线检测

= hough(bw,'RhoResolution',0.5,'ThetaResolution',0.5);
figure,imshow(theta,rho,H,[],'notruesize'),axis on,axis normal;
xlabel('\theta'),ylabel('\rho');
=houghpeaks(H,2);



想用houghpeaks找到hough变换的高峰值
结果显示
??? Error using ==> houghpeaks
Too many output arguments.
错误,不知错在哪里
还望高手指点
附件为源程序

ChaChing 发表于 2009-3-3 18:34

Too many output arguments.!!

Help houghpeaks

Syntax
peaks = houghpeaks(H,numpeaks)
页: [1]
查看完整版本: 求助:用hough做直线检测