Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version


when you create your cv::mat one of the size values (row or column) is lower than 0. You can't create a matrix with a negative number of rows or columns.

In future questions you should provide the code which produce the error.