title: Kinect2 raw depth to distance in meters
body: <p>How to convert the Kinect2 raw depthdata to the distance in meters. The raw depthdata was got by Windows Kinect2 SDK. It's all Integral data.
  Point: It's kinect2 rather than kinect1.
  I already got the equation of Kinect1,but it's not match.
  So anyone can help me.
  The equation of Kinect1:</p>
  
  <pre><code>if (depthValue &lt; 2047) 
  {
    depthM = 1.0 / (depthValue*-0.0030711016 + 3.3309495161);
  }
  </code></pre>