Hello!
I have been digging into how I can mimic what DJI' software does to fill in the sky on my drone Pano's, but I cannot figure out how to script it.
There are a ton of threads on here about one-off solutions, like doing it in photoshop, or some other stand-alone tool, but so far, I have been unable to find a workable, aka scriptable, solution.
The closest I found was Bruno talking about the l-29 setting for enblend -
https://groups.google.com/g/hugin-ptx/c/aghpJeyIvQo/m/k6iOJVImjskJ - I did attempt Bruno's solution, but got an error about couldn't do 29, could only do 9 and some errors that said 10. So I tweaked the setting to 9 (#hugin_enblendOptions -l 9) and ran it. No errors, but no change to the image that I could tell...still have big black hole sky.
Here is what my script does -
1. Generates a new PTO for the specific folder
2. import template details.
3. cpfind (with pre-aligned as the drone uses the same pattern each time)
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)
8. Autooptimiser
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.
How can I turn this -
Into this -
With scripting?
Thank you!