Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

your maths is broken, cv::Range(img1.cols, img2.cols) is 0 if img1.cols == img2.cols.

you probably wanted something like: cv::Range(img1.cols, collageImg.cols)

your maths is broken, cv::Range(img1.cols, img2.cols) is 0empty, if img1.cols == img2.cols.

you probably wanted something like: cv::Range(img1.cols, collageImg.cols)

your maths is broken, error,

cv::Range(img1.cols, img2.cols) is empty, if img1.cols == img2.cols.

you probably wanted something like: cv::Range(img1.cols, collageImg.cols)

maths error,

cv::Range(img1.cols, img2.cols)img2.cols)
 

is empty, if img1.cols == img2.cols.

you probably wanted something like:

cv::Range(img1.cols, collageImg.cols)collageImg.cols)