Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

isContinuous() behaviour for large images in OpenCV

Hi, I have the following in OpenCV 3.4.2

cv::Mat3b a(cv::Size(30511, 26060));
cout << a.isContinuous() << endl;

and the result is 0 (false), which I think is not correct looking at the step size in a.step[0]. Is this a bug or some quirk with large arrays? Thanks