how do I draw in jit.gl.gridshape with x,y coordinates?

Apr 18, 2009 at 7:59pm

how do I draw in jit.gl.gridshape with x,y coordinates?

Hello -

I am trying to track points of light from a multi-touch interface and use the x,y tracking coordinate to draw trails of light. I have figured out how to track several points of light using the cv.jit objects but I can not figure out how get this data to talk with the jit.gl.gridshape object. I keep getting the error message “jit.gl.gridshape doesn’t understand “”".

I would greatly appreciate your help! My deadline is quickly approaching……

Thank you!
Lisa Marie

(see attached file)

#43435
Apr 18, 2009 at 8:14pm

hi,

Hope this can help. I think is a good way to have multi grind shapes for each blobs.

Luis Marques

#155837
Apr 18, 2009 at 11:08pm

Yes!

This is exactly what I needed to move forward.
Thank you so much for responding to my question!
I am slowly, slowly learning…..

Lisa Marie

#155838
Apr 27, 2009 at 3:07am

Hello.
I have a question about using jit.spill with the cv.jit.blobs.centroids object. In my example patch
I am trying to get the x,y coordinates of a blob. It seems
like the jit.spill object doesn’t recognize the x,y coordinates
of the first blob. It only starts listing the numbers when the second blob appears. Can someone tell me if this is how the jit.spill object is supposed to behave and if not, how I can get it to list numbers when there is only one blob? If jit.spill is supposed to behave this way, is there a different object I can use to list the x,y position information for every blob, even if there is only one?

Any help would be appreciated!
Lisa Marie

– Pasted Max Patch, click to expand. –
#155839
Apr 27, 2009 at 3:32am

hi,

try jit.iter

Luis Marques

#155840

You must be logged in to reply to this topic.