我不知道如何在像这样创建的IplImage中释放内存:
Mat matrixJpeg = cv::imdecode(Mat(jpegBuffer), 1);
IplImage fIplImageHeader = matrixJpeg;
这不起作用:
cvReleaseImage(&fIplImageHeader);
我会收到错误:
1 IntelliSense: argument of type "IplImage *" is incompatible with parameter of type "IplImage **" c:\users\richard\documents\visual studio 2010\projects\server\server\server.cpp 59 19 Server
这也不起作用:
cvReleaseImage(fIplImageHeader);
我会收到错误:
1 IntelliSense: no suitable conversion function from "IplImage" to "IplImage **" exists c:\users\richard\documents\visual studio 2010\projects\server\server\server.cpp 59 19 Server
有什么建议吗?