Bruno has been creating scripts to create automatic panoramas for some time.
--dmg
> --
> You received this message because you are subscribed to the Google Groups
> "Hugin and other free panoramic software" group.
> A list of frequently asked questions is available at:
> http://wiki.panotools.org/Hugin_FAQ
> To post to this group, send email to hugi...@googlegroups.com
> To unsubscribe from this group, send email to
> hugin-ptx+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/hugin-ptx
>
--
--dmg
---
Daniel M. German
http://turingmachine.org
--dmg
On Sat, Nov 20, 2010 at 1:54 PM, Jan Martin
You can generate a makefile from a pto with pto2mk, then run make on
that to generate the same output as Hugin's "Stitch Now!" button. For
example:
pto2mk -o project.pto.mk -p project project.pto
make -f project.pto.mk
This page of the panotools wiki is useful for scripting things Hugin
does: http://wiki.panotools.org/Panorama_scripting_in_a_nutshell
-James
--
nona -o out -m TIFF_m template.pto DSC_1234.JPG DSC_1235.JPG DSC_1236.JPG
enblend -o finished.tif out0000.tif out0001.tif out0002.tif
The first nona command creates three remapped TIFF images called out0000.tif, out0001.tif etc... the list of input images can be substituted with any set of identically sized photos. The second enblend command uses these TIFF files as input and merges them to a file called finished.tif.....
Jan
--
You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugi...@googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
You should be able to reproduce exactly the results of using the
1,2,3 buttons from the Hugin Assistant with icpfind, autooptimiser
and pto2mk (icpfind is only in the current HG tip).
--
Bruno
--
Please, all you programmers out there:
Take an additional hour or so, after you are "done" with the Real
Work, and expand the "help" and man files.
Then take yet another hour, go back over your code and add some
comments. (Well, really, you should be commenting as you go.
Shouldn't you?)
Coolness isn't cool if nobody but yourself and three buddies can use
it / make sense of it.
Come on now, everybody reach for the next level TOGETHER. ;)
Thanks,
eo
On Nov 21, 2010, at 10:18 AM, kfj wrote (in part):
> .... I looked at likely candidates among the scripts that handle pto
> files, but all I
> found was extremely meagre documentation. It made me really angry.
> Like there is 'hugin_stich_project'. It is a command line tool to
> stitch a hugin project. It states
>
> Verwendung: hugin_stitch_project [-h] [-o <str>] [-t <num>] [-d]
> [<project> <images>...]
> -h, --help show this help message
> -o, --output=<str> output prefix
> -t, --threads=<num> number of threads
> -d, --delete delete pto file after stitching
>
> ... and that's it. (there is a man page which says the same in
> slightly more words).
>
> . . .
>
> I lost patience.
>
>
> with clenched jaw from grinding my teeth
>
> Kay
>
> --
"back in the day" (g)awk was useful (and I used it).
However, with perl now so mature and widely installed
(or installable) I view awk as of historical interest
only.
I use, and would recommend, perl as a "scripting glue" language.
Perl has a helpful combination of syntactic convenience
and a huge library of pre-cooked code.
BugBear
with regards
Kay
with regards
Kay
> When it comes to panorama scripting, a lot of code has been
> written already in perl. You can either use the ready-made
> scripts, or try and adapt them to your needs by modifying them or
> taking bits from them and building your own on top. You may have
> noticed, though, that the existing scripts often aren't very well
> documented
Documentation for Panotools::Script is here:
http://search.cpan.org/dist/Panotools-Script/
--
Bruno