I found the option to start stitching ...

Here is the script. 

Any suggestions for improvements?

{{{
#!/bin/bash
# Usage: panorama.sh dir_containing_images_to_stitch
set -x

cd $1
basename=$(basename $PWD)
pto_gen -o ${basename}.pto *.jpg *.JPG
cpfind -o ${basename}.pto --multirow --celeste ${basename}.pto
cpclean -o ${basename}.pto ${basename}.pto
linefind -o ${basename}.pto ${basename}.pto
autooptimiser -a -m -l -s -o ${basename}.pto ${basename}.pto
pano_modify --canvas=AUTO --crop=AUTO -o ${basename}.pto ${basename}.pto
PTBatcherGUI ${basename}.pto $basename --batch
notify-send "Created panorama $basename"
}}}


Am Donnerstag, 24. September 2015 14:46:19 UTC+2 schrieb Thomas Güttler:
>
> Thank you T. Modes for the links.
>
> My script now looks like this:
>
> {{{
> #!/bin/bash
> # Usage: panorama.sh dir_containing_images_to_stitch
> set -x
>
> cd $1
>
> pto_gen -o project.pto *.jpg *.JPG
> cpfind -o project.pto --multirow --celeste project.pto
> cpclean -o project.pto project.pto
> linefind -o project.pto project.pto
> autooptimiser -a -m -l -s -o project.pto project.pto
> pano_modify --canvas=AUTO --crop=AUTO -o project.pto project.pto
> }}}
>
> A project.pto gets created.
>
> Now the stitching needs to be done.
>
> If I call this now:
>
>  PTBatcherGUI project.pto output_prefix
>
>
> the GUI with the batch-jobs opens. But it does not start automatically.
>
> How to start the processing via script?
>
> Am Dienstag, 22. September 2015 19:28:27 UTC+2 schrieb T. Modes:
>>
>>
>>
>> Am Dienstag, 22. September 2015 19:22:04 UTC+2 schrieb Thomas Güttler:
>>>
>>>
>>>
>>> I don't have a pto file. I just have one directory with N pictures and 
>>> the result should be one panorama.jpg.
>>>
>>> Maybe I was blind, but I read your above link twice.
>>>
>>
>> read chapter 
>> http://wiki.panotools.org/PTBatcherGUI#Image_sets_.28create_project_files.29
>> also http://wiki.panotools.org/Hugin_Panorama_Workflow provides some 
>> more informations.
>>
>

-- 
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/3254429d-bcb6-40b0-846e-3e357f6f2031%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to