Clear Filters
Clear Filters

Detect lines using line_gauss, line_facet functions and plot their start and end points

4 views (last 30 days)
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.

Answers (1)

John D'Errico
John D'Errico on 25 Mar 2015
Edited: John D'Errico on 25 Mar 2015
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.

Categories

Find more on Downloads in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!