Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Conversion from IplImage to Mat

Dear all,

It is simple but can't make it through. I convert to Mat from IplImage

IplImage *opcvImg = cvCreateImage(cvSize(col_size, row_size), IPL_DEPTH_8U,1);

opcvImg = ImageQueue::getQueue();

Mat original(opcvImg, true);

After this, when I see the original in the watch window, it shows unavailable. I did in Ubuntu. What could be the problem? Thanks