Re: [ros-users] CvBridge::encoding_as_cvtype does not suppor…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: ros-users
Subject: 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.