I try to use compose panorama without estimateTransform... It works very well with the estimateTransform
stitcher.estimateTransform(imgs);
stitcher.composePanorama(pano);
But I found another way to compute the imagerotation etc, thats why I want to use composepanorama like this:
vector<Mat> imgs;
imgs.push_back(image1);
imgs.push_back(image2);
imgs.push_back(image3);
imgs.push_back(image4);
imgs.push_back(image5);
imgs.push_back(image6);
stitcher.composePanorama(Inputimages,pano);
But everytime I trie this I get this error:
Error: Assertion failed (imgs.size() == imgs_.size()) in unknown function, file ......\src\opencv\modules\stitching\src\stitcher.cpp , line 128