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

Revision history [back]

PCL has tools to generate an image from the point cloud directly (basic or range image), however not for dealing with two parallel objects. The above links will work if you're willing to take a hit in quality, but if you want to work with the original RGB image, you'll have to do some manual calculations.

You could project the pointcloud onto a plane representing the rectified* image, and use the points to mark which pixels you want to 'keep'. Or just project the bounding box and.

*: I am not a vision expert, so this may not be rigorous