kinect depth image mask

Mar 5, 2012 at 12:06am

kinect depth image mask

Hi,

I’m using alphaglue to create a mask from the Kinect’s depth image and apply that mask to it’s RGB image. The problem is the mask is grey, I need it to be black. I’ve experimented around in the cc.alphaglue.jxs file without much luck. Can anyone let me know how to do this? The patch is below.

Thanks!

Aaron

– Pasted Max Patch, click to expand. –
#62151
Mar 5, 2012 at 3:24pm

im not getting any grey mask. Not sure if its not working or im being an idiot

thanks
G

#224488
Mar 5, 2012 at 6:48pm

The background color of OpenGL scenes are gray by default. You are seeing that color because the videoplane is transparent in the masked areas. If you’d rather see black, just change the jit.gl.render @erase_color to 0 0 0 1

#224489
Aug 7, 2012 at 9:09pm

andrew, thanks, that worked great! i didn't see your response for a long time and was searching for the answer again and stumbled across your reply to my own post. i used it in a performance, here is an image from the system.

jobbernaul, just give a bang to the loadbang and then it should work. i don't think loadbang sends a bang when pasting the patch.

[attachment=201059,4288]

Attachments:
  1. oil.png
#224490

You must be logged in to reply to this topic.