Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
Mat row = mat.reshape(1,1);
Mat row = mat.reshape(1,1);

and it even comes almost for free, as it's just adjusting the Mat's row/col members, no copy involved.