Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It doesn't look like they are displaying a complete point cloud but rather a blue shaded intensity map. This could be done with the depth image from the Kinect for Windows sdk. What you are looking for is the player index. This is a provided bit in each pixel of the depth image. In order to get the player index bit you have to also enable the skeletal stream in your initialization code. </p> <p>So this is how I would do it. I am modifying one of the Kinect for Windows SDK quickstarts found <a href="http://channel9.msdn.com/Series/KinectQuickstart/Working-with-Depth-Data" rel="nofollow noreferrer">here</a> load it up and make the following changes:</p> <pre><code>//Change image type to BGRA32 image1.Source = BitmapSource.Create(depthFrame.Width, depthFrame.Height, 96, 96, PixelFormats.Bgra32, null, pixels, stride); //hardcoded locations to Blue, Green, Red, Alpha (BGRA) index positions const int BlueIndex = 0; const int GreenIndex = 1; const int RedIndex = 2; const int AlphaIndex = 3; //get player and depth at pixel int player = rawDepthData[depthIndex] &amp; DepthImageFrame.PlayerIndexBitmask; int depth = rawDepthData[depthIndex] &gt;&gt; DepthImageFrame.PlayerIndexBitmaskWidth; //check each pixel for player, if player is blue intensity. if (player &gt; 0) { pixels[colorIndex + BlueIndex] = 255; pixels[colorIndex + GreenIndex] = intensity; pixels[colorIndex + RedIndex] = intensity; pixels[colorIndex + AlphaIndex] = 100; } else { //if not player make black and transparent pixels[colorIndex + BlueIndex] = 000; pixels[colorIndex + GreenIndex] = 000; pixels[colorIndex + RedIndex] = 000; pixels[colorIndex + AlphaIndex] = 0; } </code></pre> <p>I like using this example for testing the colors since it still provides you with the depth viewer on the right side. I have attached an image of this effect running below: </p> <p><img src="https://i.stack.imgur.com/4myBz.png" alt="enter image description here"></p> <p>The image to the left is the intensity map with slightly colored pixel level intensity data. </p> <p>Hope that helps David Bates</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload