[SciPy-User] line/edge detection and output of coordinates.

Charrett, Thomas t.charrett@cranfield.ac...
Fri Apr 16 02:40:50 CDT 2010

You could try Radon / Hough transforms - which give you the gradient intercept of the lines.


-----Original Message-----
From: scipy-user-bounces@scipy.org [mailto:scipy-user-bounces@scipy.org] On Behalf Of scipy-user-request@scipy.org
Sent: 15 April 2010 19:55
To: scipy-user@scipy.org
Subject: SciPy-User Digest, Vol 80, Issue 31

Send SciPy-User mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of SciPy-User digest..."

Today's Topics:

   1. line/edge detection and output of coordinates. (Dharhas Pothina)


Message: 1
Date: Thu, 15 Apr 2010 13:54:58 -0500
From: "Dharhas Pothina" <Dharhas.Pothina@twdb.state.tx.us>
Subject: [SciPy-User] line/edge detection and output of coordinates.
To: <SciPy Users List <scipy-user@scipy.org>
Message-ID: <4BC71AB3.63BA.009B.0@twdb.state.tx.us>
Content-Type: text/plain; charset="us-ascii"


I'm trying to do some line/edge detection in python. I've done some googling and found some mailing list archives that talked about ways to do edge detection but they seem to mainly return an image with the edges highlighted. What I need is x,y coordinates of the pixels that make up the lines. I've attached an image that shows a dark band on a light background. The final output I need would be line definitions in terms of a series of x,y coordinates for the upper light to dark interface and the lower dark to light interface of the band.

Any pointers on packages to use or ways to do this are highly appreciated.


- dharhas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: example_small.jpg
Type: image/jpeg
Size: 35045 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/scipy-user/attachments/20100415/bd67be42/attachment.jpg 


SciPy-User mailing list

End of SciPy-User Digest, Vol 80, Issue 31

More information about the SciPy-User mailing list