First time here? Check out the FAQ!
answered 2015-06-24 04:48:40 -0600
Sorry, misread. So you want to increase the number of rows with empty pixels? That is black ones? If so, you can do a x.push_back(cv::Mat::zeros(nRows, x.cols, x.type())).
x.push_back(cv::Mat::zeros(nRows, x.cols, x.type()))