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

Markus Bader markus.bader at tuwien.ac.at
Thu Sep 1 06:51:15 UTC 2011


The CvBridge::fromImage uses cvInitMatHeader witht the
encoding_as_cvtype return value, witch is -1 on a non known type.
Therefore a unkown type like a bayer pattern will crash on a "passthrough" call.



More information about the ros-users mailing list