Ask Your Question

Revision history [back]

How to convert or format from std::vector to cv::Mat3b?

I have a vector of color rgb image data that I'm trying to encode to jpeg format but I can not do this until I can move the data to a Mat3b object. Does anyone have simple method to resolve this? The image is 480*640.