kinect depth image mask

Mar 5, 2012 at 12:06am

kinect depth image mask


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.



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

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


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 @erase_color to 0 0 0 1

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.


  1. oil.png

You must be logged in to reply to this topic.