Detect lines using line_gauss, line_facet functions and plot their start and end points
5 次查看(过去 30 天)
显示 更早的评论
Hi, I have downloaded the Halcon wrapper libraries zip file found at link. I unzipped it, copied it to the folder where Matlab is installed, but I am unable to use the library functions in my code. Please suggest how can I call the library functions (For eg: hHoughLines, line_facet).
I need to detect lines in an image and find the start and end coordinates of the detected lines. I used Hough tranform to detect the lines, but it doesn't detect all the lines as questioned here . So, I am looking to use Halcon wrapper provided functions such as line_facet(), line_gauss() etc.. and Please provide an example code on detecting lines and finding start, end points of the lines using that functions for the image posted in question.
0 个评论
回答(1 个)
John D'Errico
2015-3-25
编辑:John D'Errico
2015-3-25
First of all, DON'T DO THAT!
Don't put files where MATLAB is installed. This can cause trouble, because those files will not be properly read and cached by MATLAB.
Instead, put them in your own directory, a directory where you have read/write access of course.
Then add that directory to the MATLAB search path.
help pathtool
help addpath
help savepath
As for help in using a specific tool that you downloaded, I'd suggest asking the source. If they have not provided examples of use and sufficient help to use the code, I'd suggest they should have done a better job. Even good software is still worthless if insufficient documentation is provided to use it.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!