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). Any other information on template matching with scipy would be greatly appreciated. Thanks! Stephen Emslie
http://www.intel.com/technology/computing/opencv/ _____ From: scipy-user-bounces@scipy.org [mailto:scipy-user-bounces@scipy.org] On Behalf Of stephen emslie Sent: Thursday, August 03, 2006 2:35 PM To: SciPy Users List Subject: [SciPy-user] hough transform 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). Any other information on template matching with scipy would be greatly appreciated. Thanks! Stephen Emslie
Hi Stephen 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. Regards Stéfan
Thanks very much Stefan, this is very useful to me! I wonder how easy/hard it would be to adapt this for the generalized hough transform? Stephen Emslie On 8/3/06, Stefan van der Walt <stefan@sun.ac.za> wrote:
Hi Stephen
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
On Thu, Aug 03, 2006 at 01:34:51PM +0100, stephen emslie wrote: 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.
Regards Stéfan
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
participants (3)
-
Jelle Feringa / EZCT Architecture & Design Research -
Stefan van der Walt -
stephen emslie