Mat 转 IplImage

分类: OpenCV

Mat 转 IplImage

 

[cpp] view plaincopy
 
  1. Mat image1;  
  2. IplImage *image2 = (&(IplImage)image1);  

 

IplImage convert to Mat

 

[cpp] view plaincopy
 
  1. Mat mtx(img); // convert IplImage* -> Mat    

 

做个文档, 以便后面自己来查。
 
 
 
参考文档 :  http://blog.csdn.net/nemo2011/article/details/9007161
posted on 2014-12-19 18:46  CT1104  阅读(159)  评论(0编辑  收藏  举报