Leave to YARP the pixel code (channel order) conversion aligned with OpenCV (BGRx)#44
Conversation
…ith OpenCV (BGRx)
|
This is a first attempt to use There is a problem with the definition of the map |
…s the implementation - This allows to avoid having to select a specialisation of `yarp::cv::toCvMat` depending on the pixel code, and instead, always use the specialization `yarp::cv::toCvMat<yarp::sig::PixelBgr>` respective to the destination image. - The drawback is that we loose the alpha channel, as per the actual implementation of `yarp::sig::Image::copy`.
This problem was avoided. Refer to #43 . |
|
Side note: |
Implements #43 .