-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leave to YARP the pixel code (channel order) conversion aligned with OpenCV (BGRx) #44
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 . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
Side note: |
Implements #43 .