Ask Your Question

Revision history [back]

Using Stitcher class I don't know but using stitching_detailed you can try :

stitching_detailed.exe 1.jpg 2.jpg --match_conf 0.1 --conf_thresh 0.1

My graphics cards is out of memory if i use opencl : disable opencl in source file ocl::setUseOpenCL(false);

Image size is 31446x15724

After resize and crop you get :

image description

results are :

Finding features...
Features in image #1: 1291
Features in image #2: 2465
Finding features, time: 0.454503 sec
Pairwise matchingPairwise matching, time: 0.100543 sec
Initial camera intrinsics #1:
K:
[956.5549779665724, 0, 335.5;
 0, 956.5549779665724, 447;
 0, 0, 1]
R:
[1, 0, 0;
 0, 1, 0;
 0, 0, 1]
Initial camera intrinsics #2:
K:
[956.5549779665724, 0, 335.5;
 0, 956.5549779665724, 447;
 0, 0, 1]
R:
[0.90496391, -0.18025631, -0.024394969;
 0.30387831, 0.75238615, 0.38654971;
 -0.019029038, -0.42045993, 0.79450226]
Camera #1:
K:
[1145.872441259748, 0, 335.5;
 0, 1145.872441259748, 447;
 0, 0, 1]
R:
[1, 4.0745363e-10, -1.8626451e-09;
 4.0745363e-10, 1, 0;
 -1.8626451e-09, 0, 1]
Camera #2:
K:
[1092.377767623695, 0, 335.5;
 0, 1092.377767623695, 447;
 0, 0, 1]
R:
[0.97137004, -0.23549961, -0.031307407;
 0.23054537, 0.90260893, 0.36351883;
 -0.057350188, -0.36032906, 0.93106067]
Warping images (auxiliary)...
[ INFO:0] Initialize OpenCL runtime...
Warping images, time: 0.587302 sec
Compositing...
Compositing image #1
Multi-band blender, number of bands: 10
Compositing image #2
Compositing, time: 95.1033 sec
Finished, total time: 137.785 sec