elegant-scipy / elegant-scipy-submissions

Submissions of code snippets for the book Elegant SciPy
13 stars 2 forks source link

Use bincount and digitize in an example #16

Closed stefanv closed 8 years ago

stefanv commented 9 years ago

Here's a compact implementation of the Hough line transform. This used to be in scikit-image, but was replaced later by a Cython implementation:

https://github.com/jaberg/scikits-image/blob/master/skimage/transform/hough_transform.py#L9

jni commented 9 years ago

@stefanv awesome! =)

jni commented 8 years ago

@stefanv we use bincount in chs 3 and 8, so I'm closing this issue.