Kinect


    Jan 12 2011 | 11:48 pm
    Hi all,
    I'm trying to bild a multi ball tracking with a kinect camera, and for one step, I need to convert the depht image of the kinect to a rgb image.
    I'm using the jit.freenect.grab
    Can anyone help me with that?
    Thank you very much!

    • Jan 14 2011 | 3:07 pm
      You can convert the depth map to a 4 plane matrix just by running it through jit.matrix 1 char 640 480 (or whatever dimensions you are looking for). From there you should be able to use jit.unpack/jit.pack and jit.op to color your matrices. There are more effective ways to do this using cv.jit.blobs if you are trying to label tracking points by color.