Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to free memory through cv::Mat ?

IplImage* src= cvLoadImage("1.tif");
        Mat m= src;//no copy
        Mat m1(src);//no copy
        m.release();//don't free mem
        m1.release();//don't free mem
        cvReleaseImage(&src);//free mem

how to free memory through cv::Mat ?