kinect raw data
I am using ubuntu 11.10 and openni.
My question is how to convert the raw depth data to XYZ point?
(x,y,d) coordinate of (pixel, pixel, mm)
I want to know how to convert it to (mm, mm, mm)
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I am using ubuntu 11.10 and openni.
My question is how to convert the raw depth data to XYZ point?
(x,y,d) coordinate of (pixel, pixel, mm)
I want to know how to convert it to (mm, mm, mm)
Hi rosmaker,
If you are using
roslaunch openni_launch openni.launch
then the conversion is already being done for you.
You only need to subscribe to the topic /camera/depth_registered/points. This topic is of type sensor_msgs/PointCloud2 and represents the 3D point cloud of the scene in meters.
You can find further information on how to access point cloud data in http://www.ros.org/wiki/pcl/Tutorials
I hope this helps
Well, if you want your coordinates in mm, one thing you can do is multiply by 1000 all the values in /camera/depth_registered/points
Asked: 2012-07-04 15:27:50 -0500
Seen: 1,226 times
Last updated: Jul 04 '12
Problem pertaining to DepthGenerator
OpenNI compilation error, Diamondback, version mobile, ARM
How to install NITE in Ubuntu10.04?
depth wrong using openni_camera depth image
what's the resuts of GetSkeletonJointOrientation()
How to change the Kinect point cloud resolution
How to display the Kinect point cloud using image colours?
NI Stack shows different outputs on Kinect
Multiple Kinects: Same Topics from different nodes, how to subscribe?
Are you using the openni_camera stack? What launch file are you using to start the Kinect (e.g. openni_launch openni.launch)?
I am using openni_launch openni.launch to start the kinect.
Can you also teach me the changing fomula??