Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to initialize array of cv::Mat with rows, cols and value?

How to initialize an array with 10 Mat's?

cv::Mat im[10](r, c, CV_8UC3);

Each mat consists of 'r' rows and 'c' columns.

How to initialize array of cv::Mat with rows, cols and value?

How to initialize an array with 10 Mat's?

cv::Mat im[10](r, c, CV_8UC3);

Each mat consists of 'r' rows and 'c' columns.