Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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())).