ppwwyyxx / OpenPano

Automatic Panorama Stitching From Scratch
MIT License
1.86k stars 553 forks source link

How to set target image size? #75

Closed c060604 closed 5 years ago

c060604 commented 5 years ago
[update_proj_range@stitcher_image.cc:74] Range: (-2.963954,-0.453715)~(-1.675223,0.467396)
[update_proj_range@stitcher_image.cc:74] Range: (-3.130666,-0.461711)~(3.139581,0.468319)
[update_proj_range@stitcher_image.cc:74] Range: (1.736109,-0.461876)~(3.028604,0.464461)
[update_proj_range@stitcher_image.cc:74] Range: (0.937950,-0.464051)~(2.235196,0.466126)
[update_proj_range@stitcher_image.cc:74] Range: (0.152274,-0.464321)~(1.443985,0.462008)
[update_proj_range@stitcher_image.cc:74] Range: (-0.627637,-0.465626)~(0.664331,0.459255)
[update_proj_range@stitcher_image.cc:74] Range: (-1.399821,-0.462613)~(-0.099431,0.468616)
[update_proj_range@stitcher_image.cc:74] Range: (-2.192215,-0.463213)~(-0.897433,0.464121)
[update_proj_range@stitcher_image.cc:74] Range: (-3.140948,-0.981234)~(3.140852,-0.043389)
[update_proj_range@stitcher_image.cc:74] Range: (-3.132139,-0.987882)~(3.137622,-0.045666)
[update_proj_range@stitcher_image.cc:74] Range: (-3.139369,-0.994713)~(3.140868,-0.048348)
[update_proj_range@stitcher_image.cc:74] Range: (0.692462,-0.991272)~(2.457987,-0.045731)
[update_proj_range@stitcher_image.cc:74] Range: (-0.088162,-0.985529)~(1.665280,-0.045533)
[update_proj_range@stitcher_image.cc:74] Range: (-0.857219,-0.983469)~(0.894490,-0.045511)
[update_proj_range@stitcher_image.cc:74] Range: (-1.640492,-0.987069)~(0.121060,-0.044101)
[update_proj_range@stitcher_image.cc:74] Range: (-2.433369,-0.988814)~(-0.666332,-0.044246)
[update_proj_range@stitcher_image.cc:74] Range: (-3.136392,-1.502304)~(3.140853,-0.473057)
[update_proj_range@stitcher_image.cc:74] Range: (-3.128122,-1.505373)~(3.139144,-0.475948)
[update_proj_range@stitcher_image.cc:74] Range: (-3.136522,-1.506914)~(3.141054,-0.475449)
[update_proj_range@stitcher_image.cc:74] Range: (0.114551,-1.503920)~(3.053336,-0.474899)
[update_proj_range@stitcher_image.cc:74] Range: (-0.668937,-1.501583)~(2.262148,-0.477422)
[update_proj_range@stitcher_image.cc:74] Range: (-1.458659,-1.511997)~(1.504548,-0.481932)
[update_proj_range@stitcher_image.cc:74] Range: (-2.255146,-1.523283)~(0.744705,-0.480430)
[update_proj_range@stitcher_image.cc:74] Range: (-3.046968,-1.523411)~(-0.047569,-0.475984)
[update_proj_range@stitcher_image.cc:74] Range: (-3.137299,-1.117072)~(3.131362,-0.830948)
[get_final_resolution@stitcher_image.cc:103] Target Image Size: (7150.364442, 2965.693669)
[get_final_resolution@stitcher_image.cc:111] Resolution: 0.000879,0.000672
[blend@stitcher_image.cc:123] Final Image Size: (7150, 2965)

The target image size is (7150.364442, 2965.693669), how to get a large image size?

I tried to change the MAX_OUTPUT_SIZE param in config.cfg, but it does not work.

ppwwyyxx commented 5 years ago

If your input is not large enough, there is no way to get a large output. If your input is very large, using a larger MAX_OUTPUT_SIZE should give you a larger output. If this is not the case, we may need your input data and command to investigate why it happens.