depth_image_proc下的nodelets

depth_image_proc下的nodelets:

1.depth_image_proc/convert_metric:

将毫米级的uint16深度图像转换为米级的float深度图像的nodelet。

(1)订阅的话题:

image_raw (sensor_msgs/Image)
uint16深度的图像,单位:mm。 openni设备专用。

(2)发布话题:

image (sensor_msgs/Image)
float深度图像,单位:m。 ros中推荐使用。

2.depth_image_proc/disparity:

转换depth图像为disparity图像。

(1)订阅主题:

left/image_rect (sensor_msgs/Image):校准深度图像

right/camera_info (sensor_msgs/CameraInfo)
相机校准和元数据。必须包含基线,它通常被编码到右相机的P矩阵中。

(2)发布话题:

left/disparity (stereo_msgs/DisparityImage)
Disparity图像(与深度图像负相关)主要是与立体相机进程交互。其他方面用深度图像替代。

(3)参数:

min_range (double, default: 0.0):最小检测深度。

max_range (double, default: +Inf):最大检测深度。

delta_d (double, default: 0.125):允许的最小差异增益,与深度精度有关,单位:pixel。

queue_size (int, default: 5):同步订阅主题的消息队列长度。

3.depth_image_proc/point_cloud_xyz

转换深度图像为xyz点云的nodelet。

(1)订阅话题:

camera_info (sensor_msgs/CameraInfo):相机校准和元数据。

image_rect (sensor_msgs/Image):校准后的深度图像。

(2)发布话题:

points (sensor_msgs/PointCloud2):XYZ点云。如果使用PCL,作为PointCloud<PointXYZ>订阅。

(3)参数:

queue_size (int, default: 5):同步订阅话题的消息队列长度。

4.depth_image_proc/point_cloud_xyzrgb

转换、配准 深度图像和RGB图像为xyzrgb点云的nodelet。

(1)订阅话题:

rgb/camera_info (sensor_msgs/CameraInfo):相机校准和元数据。

rgb/image_rect_color (sensor_msgs/Image):校准后的彩色图像。

depth_registered/image_rect (sensor_msgs/Image):

校准后的深度图像,配准了RGB图像。

(2)发布话题:

depth_registered/points (sensor_msgs/PointCloud2):XYZRGB点云。

在PCL中 = PointCloud<PointXYZRGB>。

(3)参数:

queue_size (int, default: 5):同步订阅消息队列的长度。

5.depth_image_proc/register:

映射深度图像到另一个相机坐标系,需要两个相机的校准参数和转换的tf。

(1)订阅话题:

rgb/camera_info (sensor_msgs/CameraInfo):RGB相机校准和元数据。

depth/camera_info (sensor_msgs/CameraInfo):depth相机校准和元数据。

depth/image_rect (sensor_msgs/Image):校准后的深度图像。

(2)发布话题:

depth_registered/camera_info (sensor_msgs/CameraInfo):配准后的校准和元数据。

depth_registered/image_rect (sensor_msgs/Image):重映射深度图像到RGB坐标系中。

(3)参数:

queue_size (int, default: 5):同步订阅消息队列长度。

(4)tf:在订阅话题的头中被指定,这里是/depth_optical_frame → /rgb_optical_frame。

 

转载于:https://my.oschina.net/sunzhiming/blog/408598

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值