[SciPy-user] hough transform
Stefan van der Walt
stefan at sun.ac.za
Thu Aug 3 14:21:45 CDT 2006
On Thu, Aug 03, 2006 at 01:34:51PM +0100, stephen emslie wrote:
> I'd like to perform a hough transform (http://en.wikipedia.org/wiki/
> Hough_transform) on an image as part of a template matching algorithm.
> I've looked around scipy and numpy and I couldn't find any sign of the Hough
> transform, but it seems to be a fairly routine operation in image processing so
> I was wondering if anyone had written an implementation (or perhaps if it is
> already in scipy and I'm just missing it).
I attach code for the straight line Hough transform. I saw a post
earlier which refers to another implementation. They are similar, but
this one is vectorised, which should provide a speed improvement.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2928 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20060803/ad246212/attachment.py
More information about the SciPy-user