batch stitching with lux is quite simple. All lux needs to stitch a PTO
is a command line like this:
lux --stitch=yes my.pto
and to stitch several, just pass them all on the command line:
lux --stitch=yes *.pto
The resulting files are named automatically and no metadata are
transferred, if you want that, you'll have to employ exiftool.
the command line is like this, with use of gpu for nona:
set nona="%ProgramFiles%\Hugin\bin\nona.exe"
set enblend="%ProgramFiles%\Hugin\bin\enblend.exe"
%nona% -g -o out -m TIFF_m template.pto
%Rfolder%/%date%/IMG_%imagenr%.JPG %Lfolder%/%date%/IMG_%imagenr%.JPG
echo Done Nona
%enblend% -o %outputname%-IMG_%imagenr%.JPG --compression %jq%
out0000.tif out0001.tif
echo Done Enblend, next file?
and lux replaces both nona and enblend?
something like?
set lux="%ProgramFiles%\Hugin\bin\lux.exe"
%lux% -g --stitch=yes %Rfolder%/%date%/IMG_%imagenr%.JPG
%Lfolder%/%date%/IMG_%imagenr%.JPG template.pto -o
%outputname%-IMG_%imagenr%.JPG
I know it's in hugin, but never understood how to employ exiftool via
cmd and f.i. copy the left image exif data to the enblend output file.
With lux, you don't have to do this, because lux multithreads
internally, so when it does a stitch, it uses all available CPU cores
anyway. You can't gain speed from running several instances.
ah, you really think? as far as i can tell it already uses multicore in
the current setup, but since loading and writing takes time and even
when processing only one or 2 cores go above 60%, there was in my
opinion time enough to try to run more scripts.
Should be the same with lux batch stitching, but you should rather set
up a script which does the batch stitch in one folder, then moves to the
next and does it there, etc - running them in parallel won't speed it up
and use much more memory. Try it out and tell me how it worked for you.
Of course the results lux produces are not identical to what
nona+enblend produce and you may not be happy with the result. And lux
needs lots of memory - if the panoramas are large, it may not be a good
idea to stitch them with lux.
i don't have any memory issues (yet), and i feel in a daring mood :)
I will try single and multi instances out and let you know, this might
take some time though....
--
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/0ef2f54c-e918-4fdd-9c17-fde14a18617c%40gmail.com.