Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try this:

warpPerspective(image1, result,homographyReln, cv::Size(image1.cols+image2.cols, image1.rows));

Try this:this, I think it should sort out your height, width requirements.

warpPerspective(image1, result,homographyReln, resultImage ,homographyReln, cv::Size(image1.cols+image2.cols, image1.rows));