IplImage 与mat之间的转换及释放内存

   IplImage *x = cvLoadImage(savefilename, 1);
   Mat img(x,true);
   cvReleaseImage(&x);

猜你喜欢

转载自www.cnblogs.com/happyamyhope/p/8980533.html