Items with no label
3335 Discussions

[Question] How to get real x, y, z value

CLi43
Beginner
1,227 Views

Hi, All,

I have the frameset (format: RS2_FORMAT_Z16, stream: RS2_STREAM_DEPTH).

I can use get_distance(x, y) to get the z, but the x,y is pixels position not real x, y position.

Does any one know how to get real x and y?

What kind of interface should I use to get real x, y, z from frameset?

Question: x, y (by pixel) how to convert to x, y (point cloud date)

Thanks

Carrie

0 Kudos
1 Reply
MartyG
Honored Contributor III
184 Views

The documentation on SDK 2.0's Projection system can be found here.

https://github.com/IntelRealSense/librealsense/wiki/Projection-in-RealSense-SDK-2.0 Projection in RealSense SDK 2.0 · IntelRealSense/librealsense Wiki · GitHub

Reply