Azure Kinect Sensor SDK
refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK
|
|
inline |
Creates a point cloud from a depth image.
depth | The depth map to generate the point cloud from. |
camera | The perspective the depth map is from. |
If the depth map is from the original depth perspective, camera should be Depth. If it has been transformed to the color camera perspective, camera should be Color.
The returned image will be of format Custom. Each pixel will be an XYZ set of 16 bit values, therefore its stride must is 2(bytes) * 3(x,y,z) * width of the depth image in pixels.