I know how to add row or col in the right of the matrix:
cv::Mat row = cv::Mat::ones(1, 3, CV_64F); // 3 cols, 1 row
m.push_back(row); // 3 cols, 5 rows
But I don't know how to add row or col in the left of the matrix.
I'm trying to make a map from a video. So is there any effective solution?