I would like to ask if there is a way(s) to mask a Kinect skeleton in grayscale and make the background into an alpha image please? I would like to have the background into an alpha image because I want to add another image as the background, imagine it like the greenscreen effect.
This is how I imagine it will look:
Original image from Kinect:
Based on the result that you’re trying to achieve, I think what you’re trying to say is how do you subtract the person from the background instead of how to mask the “Kinect skeleton”. Perhaps something like this:Kinect Point Cloud openFrameWorks
There’s actually an OF example for Kinect if you’re not aware of it; Just simply play around with the depth threshold to determine the depth range as you see fit. As for making it grayscale, you’ll need to reduce the color saturation or use ofxCvGrayscaleImage.