1 | initial version |
From what I could put together from your un-indented code. It seems you're just banging together two images and expecting them to "seamlessly" flow into one image.
It would be better I think if you post your code about the laplacian gaussian instead of this one or at least posting a link of where ever you obtained the code from. Otherwise I would suggest looking at the cv::Stitcher class for automatic image stitching.