After reading the latest thread about multi-row pano's, I have been inspired to refine my hugin script I use to build 360 spheres from my DJI Mini 2. I ran into an interesting artifact that I cannot get rid of - A jagged line in the horizon.
My script does this -
1. Generates a new PTO for the specific folder
2. import template details.
3. cpfind (with pre-aligned)
4. clean control points
5. geocpset to "match" images without CP's...this was needed for areas of water/snow that are mostly featureless.
6. clean control points
7. linefind (not really seeing a benefit to this one, but that is another story)
9. Pano_Modify - tweak the settings to get the output I want.
10. send the PTO to batch processor to not completely kill my computer when doing large sets.
Note - I can run this script on a single folder by copying it and the template to the directory with the images, but I usually run it from another bat file that iterates through all directories to make my workflow easier after shooting a bunch of panos.
I think I am fighting the curvature of the earth with the straighten tool because when viewing the final PTO file (after the script runs and the image is built), the horizon is straight between the two points where water and land meet, but has a jagged jump. You can see the water get slightly "higher" in the middle, but that breaks the line. In the above OneDrive location, I uploaded a snip of the Hugin GUI in expert mode (move/drag tab) that shows this.
Is there a way to tweak my script to allow for some curvature in the "straighten" command? Am I missing something obvious? :)