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

Revision history [back]

I've just had a look at the source code for the mapviz image plugin and you're right, you can see here that it doesn't currently support RGBA image rendering. There are two parts which will need to be modified in order to get this working if you want to adapt it.

Firstly the image callback function here will need to detect and handle images with transparency as well as normal BGR images.

Secondly the DrawIplImage function here will need modifiying so that it detects images with transparency and uses the GL_RGBA format as described in the OpenGL documention here.

If you're up for modifying this plugin it doesn't seem like that much work to get it to support images with alpha channels. Let me know if you have any other questions about getting this working.