Hi Jon,
hugin and other free panoramic software schrieb am Donnerstag, 19. Oktober 2023 um 11:32:06 UTC+2:
The problem is that I can't see how to achieve this same crop when using the executor. Can someone tell me if this is possible please and if so how to do it?
It is possible. But the way depends on the exact workflow.
Hugin_executor itself does not calculate the crop. It delegates the function to other program.
The crop function itself can be called by pano_modify:
pano_modify --crop=autooutside ..
If you already calling pano_modify in your script simply adopt the call from pano_modify --crop=auto to the above.
If you are using the default assistant, you can create an user-defined assistant. You can use the example normal.assistant (under <Program File>\Hugin\share\hugin\data\assistant under windows or /usr/local/share/hugin/data/assistant under Linux) file as starting point and modify the pano_modify call.
In the current 2023.0 beta 1 you could instead also using an user-defined output options (File/Preferences, Assistant tab) and use the outside crop from there.
Thomas