Hi Jeff,

[email protected] schrieb am Donnerstag, 28. April 2022 um 03:34:47 UTC+2:

> One approach is take the average value of each coefficient from each of 
> the separate panoramas, and update the lensfun data with the average 
> value.  I did a quick check and this appears mathematically consistent.

This is what Hugins lens database does (integrated into the GUI and 
hugin_lensdb command line tool): It stores the parameters for each stitch 
and can reuse the average for new panoramas when requested.

Another approach, which I haven't seen in the FAQ, would be to combine the 
> panoramas algorithmically -- changing the control point numbers and image 
> numbers so they all remain unique.   The panorama view would make no sense, 
> but I don't think hugin would encounter any problems with that.   
>
Beside ptomerge in Panorama::Script perl module there is also pto_merge 
from Hugin which allows the merge several panoramas.
 

> I think if a "handheld" mode was to be incorporated into hugin, 
> translation change limits would be set in the preferences.   I have it 
> hard-coded with a maximum change of 0.05. So if the true TrX is 0.1, and 
> the optimization ran "perfectly" it would take two runs of the optimizer 
> for Trx to get to 0.1   I also contrained the Tpy and Tpp for translation 
> mapping plane to not change by more than 0.9, but I haven't optimized those 
> so far.
>
The last one is too restrictive: both parameters are angles - Tpy 0 - 360 
and Tpp -90 - 90. So a limit of 0.9 is significant too low for the general 
case.
 

> If you are interested in this, I'll bundle up the changes I have in a zip 
> or tar file.  As I recall 4 or 5 source code files were affected.  I did 
> not attempt to get the LM starting step sizes for the parameters correctly 
> set, those are hardcoded, and the same for every parameter, it's still a 
> FIXME issue.
>
This would be nice. 
For providing the changes a diff file (or patch) would be preferred. But if 
you bundle all modified source files it would also be a good starting point.

Thomas

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/61be0a16-2d47-44ae-833b-46a50f263bc3n%40googlegroups.com.

Reply via email to