Ask Your Question
0

Conversion from IplImage to Mat

asked 2013-01-04 01:17:56 -0600

thomas11 gravatar image

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-01-04 01:35:03 -0600

Haris gravatar image

You can refer OpenCV C++ Cheatsheet, it may be helpful.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-04 01:17:56 -0600

Seen: 3,002 times

Last updated: Jan 04 '13