On Jul 26, 2013 8:52 AM, "Stéfan van der Walt" email@example.com wrote:
On Fri, Jul 26, 2013 at 3:13 PM, Ravi Prakash firstname.lastname@example.org
Traceback (most recent call last): File "plot_circular_hough_transform.py", line 69, in <module> image[cy, cx] = (220, 20, 20) IndexError: index 102 is out of bounds for axis 0 with size 95
I am at version skimage 0.8.2, Python 2.7.2+, os: Linux Mint 12 Lisa.
Could you try with the latest version from GitHub? It might have been a bug in 0.8.2.
Just to expand on Stefan's reply: the old implementation (0.8) searched for any part of the circle in the image, so the center could as much as "r" outside the image. You can convert the 0.8 result to the 0.9 result with
hough_result = hough_result[r:-r, r:-r]
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an
email to email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.