Items with no label
3335 Discussions

Deprojecting Pixel to Point

SWong19
Beginner
2,525 Views

Hi everyone, I want to obtain the 3D coordinate from my video stream of a person's head. I've got X,Y coordinates for the head centroid and what I need now is the Z coordinate. I also have the depth of the person from the camera.

However, when I came across with this function:

https://github.com/IntelRealSense/librealsense/blob/5e73f7bb906a3cbec8ae43e888f182cc56c18692/include/librealsense2/rsutil.h# L46 librealsense/rsutil.h at 5e73f7bb906a3cbec8ae43e888f182cc56c18692 · IntelRealSense/librealsense · GitHub

I couldn't quite understand the parameters used. What does float point[3] represent and also "intrinsic"? and why is the point in array type? Thank you

could anyone explain to me of all these parameters? I only know the basic of them.

0 Kudos
1 Reply
idata
Employee
1,352 Views

Hello StevenWong1995,

 

 

Thanks for posting in the RealSense community.

 

 

The information you are looking for is explained in the following Github link:

 

 

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

 

 

Best Regards,

 

Juan N.
0 Kudos
Reply