First time here? Check out the FAQ!
answered 2013-06-15 14:12:23 -0600
Mat row = mat.reshape(1,1);
updated 2013-06-15 14:16:37 -0600
and it even comes almost for free, as it's just adjusting the Mat's row/col members, no copy involved.