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

Revision history [back]

You can use PCL's RangeImagePlanar. Some example code for converting a PointCloud to a cv::Mat depth image can be found here: to_cv_depth_img.h. This is perhaps not the most efficient option as it effectively does Z-buffer based rendering in software, but depending on application might be good enough.