Saturday, May 7, 2011

C# Kinect - How to calibrate the Dept Image and Raw Image

Hi,
During few try out with C# Kinect from my previous blogs, there is a code that can help us calibrate the Kinect Depth Image and Raw Image.

Well, simply use the DepthGenerator's AlternativeViewpointCapability.SetViewpoint and pass in the Raw Image ImageGenerator to the function and it will do the trick !! :)


_DepthGenerator.AlternativeViewpointCapability.SetViewpoint(_ImageGenerator);

C# Kinect - Background Remove Second Attempt

Hi,
This is my second attempt to remove the Raw Image background. I'm still trying to get a better result by applying the Blur effect, but due to performance, I have to drop it. So this version is without blur effect.

Thursday, May 5, 2011

C# Kinect - Background Remove


Hi, this is my first blog and I would like to share with you is the C# + Kinect.

I've spent couple of days trying to figure out how to connect the Kinect device to my laptop and feel lucky that Vangos Pterneas had list out full installation guide which you can find it from here.

After the success in connecting the Kinect device to my laptop, I start to play around with the OpenNI.net component with C#.

Well, below is my test project. I manage to display the Raw Image and the Depth Image from the Kinect. I also tried to play around with it to remove the image background and only display the User image.

Above is the screenshot.

Well it is not perfect yet. As you can see there are noise around the result. I will try to apply some blur to the depth image and see how is the result.

I'll update my finding on my next post.