ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Use following formulas with correct directions.
(u,v) is the point coordinates in pixels,
P(x, y, z)---->>> x = depth
y = −(v − 480/2) ∗ depth/focal_length
z = (u − 640/2) ∗ depth/focal_length
x : depth, positive forward
y : height, positive upwards
z : width, positive to the right