How to get the parameters of depth camera?
Describe the bug
To Reproduce
Expected behavior
Logs
Screenshots
Desktop (please complete the following information):
- OS with Version:
- SDK Version:
- Firmware version:
Additional context
@Miss-Dora, can you please provide more information about what exactly you are looking for?
You may find the documentation on k4a_calibration_intrinsic_parameters_t helpful (related: k4a_calibration_t, k4a_calibration_intrinsics_t ), if that's what you're looking for. If it's not, please provide more info and we'll be happy to help!
@Miss-Dora, can you please provide more information about what exactly you are looking for? I want to use Azure Kinect to get undistorted depth image, and the camera parameters corresponding to the undistorted depth image. I need convert depth image to pointcloud to do some processing.
You may find the documentation on
k4a_calibration_intrinsic_parameters_thelpful (related:k4a_calibration_t,k4a_calibration_intrinsics_t), if that's what you're looking for. If it's not, please provide more info and we'll be happy to help! I want to use Azure Kinect to get undistorted depth image, and the camera parameters corresponding to the undistorted depth image.Now I have connected Azure Kinect to computer, and used "k4aviewer.exe" get a deep data named "xx.mkv",I need the camera parameters corresponding to the depth image,they are fx,fy,cx,cy. How can I get them?
@Miss-Dora , https://github.com/microsoft/Azure-Kinect-Sensor-SDK/tree/develop/examples/undistort, please take a look the undistort example code and see whether resolve your issue.
If your question is about how to access the camera instrinsics and extrinsics, above example can give you some idea. other than that, there are some other pointers:
- https://docs.microsoft.com/en-us/azure/Kinect-dk/use-calibration-functions
- https://github.com/microsoft/Azure-Kinect-Sensor-SDK/tree/develop/examples/opencv_compatibility
@Miss-Dora have we answered your questions? If yes, please close this issue :) Thank you for the feedback.