http://www.csse.uwa.edu.au/~pk/research/matlabfns/ Peter Kovesi School of Computer Science & Software Engineering The University of Western Australia Crawley, Western Autralia. 6009 Edge linking and line segment fitting