Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

simply do it like:

cv::Mat image = cv::imread("C:\\image1.png");
// do something with image, then recycle it: 
image = cv::imread("C:\\image2.png");