[ros-users] CvBridge::encoding_as_cvtype does not support bayer formats

Jack O'Quin jack.oquin at gmail.com
Wed Aug 31 15:12:35 UTC 2011


On Wed, Aug 31, 2011 at 3:44 AM, Markus Bader <markus.bader at tuwien.ac.at> wrote:
>
> ROS::Diamondback at Ubuntu
>
> The function CvBridge::encoding_as_cvtype does not supprot bayer
> formats, therefore it will crash in some cases.

If you run the data through the image_proc node (or its debayer
nodelet), you should get an image_color topic with the Bayer pattern
converted to a format acceptable to OpenCV (image_rect_color, if also
rectified).

Still, it should not crash. That seems like a valid defect ticket.
-- 
 joq



More information about the ros-users mailing list