On Jul 26, 2013 8:52 AM, "Stéfan van der Walt" <stefan@sun.ac.za> wrote:
Hi Ravi
On Fri, Jul 26, 2013 at 3:13 PM, Ravi Prakash <praks.putchala@gmail.com>
wrote:
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.
Stéfan
--
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] Best, Tony
You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.