Thanks Kay,

I use a likewise script but then using align_image_stack from the hugin
tools (and optimised the pv command with your command. Thanks).
I replace the lines
pto_gen -p0 -o bracket.pto "$@"
pano_modify -p0 --fov=AUTO --canvas=AUTO -obracket.pto bracket.pto
cpfind --sieve2size=5 -o bracket.pto bracket.pto
autooptimiser -p -o bracket.pto bracket.pto
pano_modify -p0 --fov=AUTO --canvas=AUTO -obracket.pto bracket.pto

(Note: I changed "pano_modify -p0 --fov=AUTO --canvas=AUTO -obracket.pto
bracket.pto" to "pano_modify -p0 --fov=AUTO --canvas=AUTO -o bracket.pto
bracket.pto" in the script.)

with one line:
align_image_stack --gpu -p bracket.pto -v "$@"

when using "time pv_fuse.sh" or "time ais_pv_fuse.sh" (my align_image_stack
version), it is twice as fast and with my preliminary tests I do not find
differences.
Next to that: I use the same script with enfuse, meaning align_image_stack
followed by enfuse. Enfuse is currently faster than pv and does not
entirely lock my laptop like pv does. However, the "big wait" is in the
panotools. I don't care about the speed difference between pv and enfuse.
Note also the max amount of memory used by pv versus
align_image_stack/enfuse where ais takes the 0.98GB and enfuse approx.
500MB. All runs using the same five 9.1 megapixel bracketed images and all
creating a jpg instead of an (open)exr image.

Some figures:
pv_fuse (using the pano tools and pv)
real 2m16,020s
user 6m3,251s
sys 0m17,520s
3.7GB

ais_pv_fuse.sh (using align_image_stack and pv)
real 1m22,573s
user 4m2,008s
sys 0m16,343s
3.7GB

enfuse.sh (using align_image_stack and enfuse)
real 0m53,653s
user 1m20,007s
sys 0m4,532s
0.98GB

Both pv and enfuse use all 4 cores in my laptop where pv, for whatever
reason, almost completely blocks my laptop.
I will do further tests.

best,
Harry

-- 
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/CAGARPpvLv%2B98m33nLLe8jw21oW4q49Kqqv6KDenJNtFZ4T%3DMFg%40mail.gmail.com.

Reply via email to