| Newsgroups |
gmane.comp.python.image |
| Message-ID |
<[email protected]> |
2009/12/23 Adrian Price-Whelan <[email protected]>:
> I've thought a bit about different ways to approach the following problem,
> but I can't come up with a solid way to count the 'spokes' that come out
> from the center. Thanks in advance for any help!
How about a variation on the hough transform?
http://en.wikipedia.org/wiki/Hough_transform
You should be able to get your radial lines to appear as a line of
spots, I think, which should be easy to count. I don't know if PIL can
easily do a Hough transform, but I'm sure Numpy could.
John
_______________________________________________
Image-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/image-sig