Revision history [back]

[Kinect]Get RGB pixel coordinate in depth cloud

Hi there! I'm using pcl point cloud to show depth information obtained with kinect. I'd like to identify rbg points (pixels) on the depth map (for example eye balls). How can i obtain real world coordinate (x,y,z) from the RGB pixel (u,v)? I've found this istructions:

cloud(right_eye.x,right_eye.y).x
cloud(right_eye.x,right_eye.y).y
cloud(right_eye.x,right_eye.y).z


where cloud is defined as:

pcl::PointCloud<pcl::PointXYZ> cloud


But the result is not correct, i mean rgb points are not fitted on the depth map.

 2 No.2 Revision Wim 2855 ●8 ●33 ●43

[Kinect]Get Get RGB pixel coordinate in depth cloud

Hi there! I'm using pcl point cloud to show depth information obtained with kinect. I'd like to identify rbg points (pixels) on the depth map (for example eye balls). How can i obtain real world coordinate (x,y,z) from the RGB pixel (u,v)? I've found this istructions:

cloud(right_eye.x,right_eye.y).x
cloud(right_eye.x,right_eye.y).y
cloud(right_eye.x,right_eye.y).z


where cloud is defined as:

pcl::PointCloud<pcl::PointXYZ> cloud


But the result is not correct, i mean rgb points are not fitted on the depth map.

 3 retagged

Get RGB pixel coordinate in depth cloud

Hi there! I'm using pcl point cloud to show depth information obtained with kinect. I'd like to identify rbg points (pixels) on the depth map (for example eye balls). How can i obtain real world coordinate (x,y,z) from the RGB pixel (u,v)? I've found this istructions:

cloud(right_eye.x,right_eye.y).x
cloud(right_eye.x,right_eye.y).y
cloud(right_eye.x,right_eye.y).z


where cloud is defined as:

pcl::PointCloud<pcl::PointXYZ> cloud


But the result is not correct, i mean rgb points are not fitted on the depth map.

 4 retagged

Get RGB pixel coordinate in depth cloud

Hi there! I'm using pcl point cloud to show depth information obtained with kinect. I'd like to identify rbg points (pixels) on the depth map (for example eye balls). How can i obtain real world coordinate (x,y,z) from the RGB pixel (u,v)? I've found this istructions:

cloud(right_eye.x,right_eye.y).x
cloud(right_eye.x,right_eye.y).y
cloud(right_eye.x,right_eye.y).z


where cloud is defined as:

pcl::PointCloud<pcl::PointXYZ> cloud


But the result is not correct, i mean rgb points are not fitted on the depth map.

 5 retagged

Get RGB pixel coordinate in depth cloud

Hi there! I'm using pcl point cloud to show depth information obtained with kinect. I'd like to identify rbg points (pixels) on the depth map (for example eye balls). How can i obtain real world coordinate (x,y,z) from the RGB pixel (u,v)? I've found this istructions:

cloud(right_eye.x,right_eye.y).x
cloud(right_eye.x,right_eye.y).y
cloud(right_eye.x,right_eye.y).z


where cloud is defined as:

pcl::PointCloud<pcl::PointXYZ> cloud


But the result is not correct, i mean rgb points are not fitted on the depth map.

 6 retagged

Get RGB pixel coordinate in depth cloud

Hi there! I'm using pcl point cloud to show depth information obtained with kinect. I'd like to identify rbg points (pixels) on the depth map (for example eye balls). How can i obtain real world coordinate (x,y,z) from the RGB pixel (u,v)? I've found this istructions:

cloud(right_eye.x,right_eye.y).x
cloud(right_eye.x,right_eye.y).y
cloud(right_eye.x,right_eye.y).z


where cloud is defined as:

pcl::PointCloud<pcl::PointXYZ> cloud


But the result is not correct, i mean rgb points are not fitted on the depth map.