1 | initial version |
Do you mean two images side by side? If so you can do:
// Assume you have img1, img2
Mat big(img1.rows, img1.cols*2, img1.type());
img1.copyTo(big(Range::all(), Range(0, img1.cols)));
img2.copyTo(big(Range::all(), Range(img1.cols, big.cols)));