connecting depth image from jit.freenect.grab to cv.jit objects

ajoshi's icon

Hi,

I am a novice in Max, playing around with the Kinect to explore various possibilities. I am trying to connect the depth image from the jit.freenect.grab object (the depth image is represented in 1-plane float 32 format) to the input of a cv.jit object (whose input is in 1-plane char). What would be the best way to do so? Do you need to convert the 1-plane matrix from a float 32 to char, and if so how can you accomplish that?

Thanks in advance.

cap10subtext's icon
Max Patch
Copy patch and select New From Clipboard in Max.

:) easy like pudding.

ajoshi's icon

thanks buddy.

Robbie Lynn Hunsinger's icon

this is beautiful! Just got the kinect going into the blob bounds patch. Have been wanting to get here for quite a while. Thanks so much!