Navigation

    蓝鲸ROS机器人论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Popular
    ROS交流群
    ROS Group
    产品服务
    Product Service
    开源代码库
    Github
    官网
    Official website
    技术交流
    Technological exchanges
    激光雷达
    LIDAR
    ROS教程
    ROS Tourials
    深度学习
    Deep Learning
    机器视觉
    Computer Vision

    【点云颜色读取问题】sensor_msgs::PointCloud2转换成pcl时如何提取RGB信息?

    技术交流
    2
    2
    143
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Arillia
      Arillia last edited by

      原始带有颜色的pcl::PointXYZRGB点云经过pcl官方函数转换为sensor_msgs::PointCloud2发布,现在一个新节点订阅该点云后需要转换成pcl::PointXYZRGB并提取RGB信息,请问如何实现?目前测试了几次,转换后RGB都变成了000,但如果再转换为sensor_msgs::PointCloud2并发布则又是彩色点云

      weijiz 1 Reply Last reply Reply Quote 0
      • weijiz
        weijiz @Arillia last edited by

        @arillia PointCloud2的那个彩色是深度信息吧,不是原始的rgb信息。转换过程中rgb信息丢了就不能在没有色彩信息的情况下还原。

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2015-2021 BlueWhale community