Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I came to the same limitation once and I still don't know why it happened. Obviously OpenCV has problems with very large matrices.

A solution which solved my problem: Creating the space by yourself:

float data = new float[rows*cols]

and creat a new matrix-header on top of the float array:

cv::Mat1f blub(rows, cols, data)