
Dec. 4, 2014
7:12 p.m.
Le 04/12/2014 13:05, Julien Derr a écrit :
Hi everyone,
I would like to use the function points_in_poly to test if the point x,y is in the contour cont2 x=0 y=0, but I have the problem with any value of x and y:
skimage.measure.points_in_poly(np.array([x,y]),cont2) where cont2 is a contour of type array : but I get the following error: "IndexError: invalid index"
it is a little obscure for me, is there a problem with this function, or is it me who don't know how to apply it ?
Hi Julien, Could you provide a minimal example with data to reproduce the error? -- François Boulogne. http://www.sciunto.org GPG: 32D5F22F