error while using houghlines

2 ビュー (過去 30 日間)
Gova ReDDy
Gova ReDDy 2011 年 10 月 24 日
when Im using houghlines Im getting error like this ..Can someone help me to fix this
??? Attempt to execute SCRIPT houghlines as a function: C:\Users\naveen\Downloads\houghlines.m
Error in ==> houghlines at 13 lines = houghlines(BW,T,R,P,'FillGap',10,'MinLength',20);

採用された回答

Fangjun Jiang
Fangjun Jiang 2011 年 10 月 24 日
So you are using the houghlines() function from C:\Users\naveen\Downloads\houghlines.m, not from matlabroot\toolbox\images\images\houghlines.m?
The error message indicates that the houghlines.m file you have is not a function. Instead, it's a script. Can you open that houghlines.m file to see if its first line is defining it as a function?

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModify Image Colors についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by