ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Divus12's profile - activity

2019-04-07 22:36:04 -0500 marked best answer Kinect depth image to real world coordinate

Im currently using Kinect xbox 360 with MATLAB software. My current approach to convert depth image to real world coordinate is by using;

X = (j - w/2) * 320/w * M * Z

Y = (i - h/2) * 240/h * M * Z

where, i = row, j = column, w = width of the photo, h = height of the photo,
M = NUI_CAMERA_DEPTH_IMAGE_TO_SKELETON_MULTIPLIER_320x240 and Z = distance

what i want to do is to calculate the length in meter of a human shoulder width, so i continue by using the formula

length = X2 - X1.

but still i couldnt get the appropriate answer.. Is my direction correct?

2019-02-18 05:34:04 -0500 received badge  Famous Question (source)
2018-03-20 13:43:06 -0500 received badge  Notable Question (source)
2018-03-13 23:32:21 -0500 received badge  Popular Question (source)
2018-03-12 23:52:09 -0500 commented answer Kinect depth image to real world coordinate

Hi Gayan, Thank you for your time to answer my question. Would like to ask which value should i use for focal_length??

2018-03-12 12:08:46 -0500 asked a question Kinect depth image to real world coordinate

Kinect depth image to real world coordinate Im currently using Kinect xbox 360 with MATLAB software. My current approach