Reply To: depthtoworld cg shader kinect jit.openni

Forums > Jitter > depthtoworld cg shader kinect jit.openni
May 19 2013 | 8:01 pm

i’m using jit.openni and in order to get a depth image where the nearest part is lighter pixel and far is darker, i have to created two nodes:

  • jit.op @op / @val 22 (fix image that looks looping shades of grey and make just one "pass")
  • jit.op @op * @val -1 (invert)

Is that correct? Are you guys have to fix depth image too?

Then, I discovered that a more direct way to do this: jit.expr @expr in[0] / 22 * -1

I’m new to jitter and matrices concepts. Do you have any example on how to create points cloud from this treated depth image with And how to undistort it?

Attaching a path that I’m working on:

  1. openni001.maxpat

Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required