Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Both CvMat and IplImage were obsolete and deprecated a years ago. You shouldn't use them. They will be excluded from next version of OpenCV. Use Mat instead. One of good properties of Mat is that it is a smart pointer, i.e. it has its own reference counter and it releases the memory it allocates.