Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

memory deallocation

OpenCV matrices can be declared in various ways. I am looking to declare openCV matrices in a main class and then populate them in member functions.

My question : I believe that openCV matrices will be deallocated automatically once the main class object goes out of scope !! Which means that I do not have to manually call release function of openCV matrices

Please correct me if I am wrong

Thanks