adishavit.github.io
Horizontal Matrix Concatenation in OpenCV
Here’s a little undocumented function to horizontally concatenate two cv::Mat matrices (with the same number of rows).
Adi Shavit