Error executing plot_circular_hough_transform.py
Ravi Prakash
praks.putchala at gmail.com
Sat Jul 27 02:58:50 EDT 2013
Hi Stéfan,
I tried with the latest version. It worked fine. Thank you.
Hi Tony,
I did not understand what r's value should be. Could you please
elaborate? I am new to skikit-image as well as numpy.
Ravi
On Saturday, July 27, 2013 6:10:50 AM UTC+5:30, Tony S Yu wrote:
>
>
> On Jul 26, 2013 8:52 AM, "Stéfan van der Walt" <ste... at sun.ac.za<javascript:>>
> wrote:
> >
> > Hi Ravi
> >
> > On Fri, Jul 26, 2013 at 3:13 PM, Ravi Prakash <praks.p... at gmail.com<javascript:>>
> 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... at googlegroups.com <javascript:>.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20130726/3664fe46/attachment.html>
More information about the scikit-image
mailing list