microsoft / Azure-Kinect-Sensor-SDK

A cross platform (Linux and Windows) user mode SDK to read data from your Azure Kinect device.
https://Azure.com/Kinect
MIT License
1.47k stars 613 forks source link

Why is the depth map read by the sample/undistort slightly smaller? #1934

Open TitansWhale opened 1 year ago

TitansWhale commented 1 year ago

Describe the bug

I used the sample/undistort example provided by the SDK to generate an undistorted depth map and saved it as a PNG file. I also saved the point cloud using the SDK. However, when I tried to reconstruct the point cloud from the undistorted depth map using the intrinsic parameters in Python, I found that it did not align with the point cloud generated by the SDK. image

The green points represent the original point cloud, while the red points represent the point cloud generated from the depth map.

To Reproduce

Expected behavior

Logs

Screenshots

Desktop (please complete the following information):

Additional context