NVIDIA-ISAAC-ROS / isaac_ros_image_pipeline

NVIDIA-accelerated ROS2 packages for camera image processing.
https://developer.nvidia.com/isaac-ros-gems
Apache License 2.0
112 stars 19 forks source link

Add rgba8 and bgra8 encoding support to point_cloud_node #15

Open FelipeGdM opened 2 years ago

FelipeGdM commented 2 years ago

This PR adds support for point cloud creation from RGBA8 or BGRA8 images. It extends the existing logic, skipping the information from the alpha channel and using only the information from the first 3 channels

As this could be interpreted as 'unexpected behavior' an warning message is issued stating that the alpha channel is being ignored when computing each point color

As example, here a point cloud generated from data from CARLA simulator with CARLA ros-bridge, that produces bgra8 images

Captura de tela de 2022-06-15 16-41-32