Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Mat declaration: declaration dimensions and size() are differents

I declare a Mat as Mat mu = Mat::ones(2000, 256, CV_64F); and when i do cout << size(mu); the output is "[256, 2000]". This only happens in some parts of the code and I can understand that.