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

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
Delete this message
Reply to this message
Auteur: User discussions
Datum:  
Aan: ros-users
Onderwerp: 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.