IplImage* 格式与Mat 格式的转换

  IplImage * img;

Mat temp = cvarrToMat(img);    //     IplImage*  格式    ==》    Mat 格式

img = (IplImage *)&temp;       //       IplImage*  格式    《==     Mat 格式

posted @ 2020-01-04 10:45  一颗蘋果  阅读(883)  评论(0编辑  收藏  举报