Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

So, I figured out that I could Initialize my Mat as

cv::Mat MatrixName(MatrixRows, MatrixCols, MatrixType/*(ie. CV_8UC4)*/, \
    NULL/*(This is the Data Pointer)*/, MatrixRowStep);

And then I could Assign the Pointer to the Data Member as

MatrixName.data = MyDataBuffer;

Which is, in my application, Mapped to the OpenCL GPU Memory-Mapped Buffer

Then I was Able to Normally Use Functions as cv::imshow, etc...

Best Regards!