Forums > MaxMSP

map kinect to jitter coords

February 2, 2013 | 12:23 pm

I’ve tried to map the x values like this [zmap 0. 640. -1. 1.0] and y values [zmap 0. 480. 1. -1.] but this gives me strange results.
What would be the right mapping data to map the kinect to jitter?

Thanks!



dtr
February 2, 2013 | 1:14 pm

You might wanna look at this if you’re trying to map the raw depth map to an openGL context: http://dtr.noisepages.com/2011/02/2-methods-for-undistorting-the-kinect-depth-map-in-maxjitter/

I’ve done this a long time ago so maybe the newer kinect tools do this automatically now, not sure about that.


February 2, 2013 | 2:35 pm

I have seen your example before, thanks. But I’m using synapse and getting OSC data.



dtr
February 2, 2013 | 3:07 pm

I’m not using Synapse but it seems improbable that the units you get are between 0-640 and 0-480. More likely you’re getting meter or millimeter values with 0 in the middle (x) at camera height (y), so you’d have both positive and negative values.


October 16, 2014 | 7:27 am

I’m also using synapse with kinect. It can output pixel values as well! I think 640 by 480!


Viewing 5 posts - 1 through 5 (of 5 total)