著者: User discussions 日付: To: ros-users 題目: Re: [ros-users] CvBridge::encoding_as_cvtype does not support bayer
formats
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.