Ask Your Question
0

Any way to convert cv::Mat* to cv:CvMat in OpenCV 3.0.0?

asked 2015-04-05 10:58:20 -0600

Baozhen Liu gravatar image

Hi,I'm having problems porting some Mat code to OpenCV 3.X (git master), because can't find any replacement for this kind of conversions:

CvMat  m2 = imageMat;  // Fails(imageMat is the type of Mat)

Have all those constructors been removed from the new OpenCV 3.X for some reason? Are there any alternatives?

Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-05 12:39:15 -0600

CvMat sounds like a part of the old c-Api that is no longer supported in OpenCV 3.0

edit flag offensive delete link more

Comments

Thank you so much. But now, i have one another question. Could you help me? http://answers.opencv.org/question/59...

Baozhen Liu gravatar imageBaozhen Liu ( 2015-04-06 01:54:42 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-04-05 10:58:20 -0600

Seen: 141 times

Last updated: Apr 05 '15