First time here? Check out the FAQ!
answered 2013-05-27 13:04:51 -0600
Try
Mat image_roi(m1,roi);
But your solution should already work too