I have a set of edges detected from an image using edge detector of MATLAB’s computer vision toolbox. All these edges (18 of them) just form two lines. How do I get the lines from these edges? All that I am interested is to find the intersection point of these two lines.
edges looklike 
and the hough lines look like 
Peter Kovesi’s CV website contains a great set of functions for line detection. Look at this example of using them.