If you have a CUDA graphics card you can try VideoStitch
Depending on graphics card and output size can run at real time.
http://www.video-stitch.com/
It uses Hugin file for templates and aligning images.
The trial version will produce non watermarked output up to 1000 pixels wide. or
watermarked over 1000 pixels wide. If you have lots of images to process the
purchase price may well be worth it.
Jim
On 2013-09-16 12:08 AM, Arthur Wait wrote:
I've used Bruno's approach and it works very well--but I'm wondering if
there's a way to speed this up?
Right now, I'm using a shell script to invoke nona and enblend, as Bruno
suggests, in a loop for each set of frames from my video cameras. But it's
pretty slow, as I spin up and release a new nona and enblend process for every
frame.
Is there a way to do this more efficiently?
Thanks!
Art
On Tuesday, May 14, 2013 1:45:12 PM UTC-7, Bruno Postle wrote:
On Tue 14-May-2013 at 13:07 -0700, White Rabbit wrote:
>On Monday, December 3, 2012 5:11:17 AM UTC-8, mph070770 wrote:
>>> I'm picking up an old thread here but Wla's problem is similar to my
>>> problem and I wonder if you can help.
>>
>> I want to create a video panorama and I'm using 2 cameras to try out my
>> process. I have recorded the videos and split them into individual
frames -
>> left0001.jpg / right0001.jpg and so on up to about
>> left0300.jpg/right0300/jpg. From the command line I rename each pair
>> left.jpg and right.jpg and run a batch script (the source_project.pto was
>> initially created in Hugin based upon the first 2 images
>> left0001.jpg/right0001.jpg renamed left.jpg/right.jpg and I manually
>> deleted the control points). I've tried numerous different approaches but
>> either the image cropping is different for each pair of stitched images
(so
>> I can't rebuild the images into a video file again) or the control
>> points/stitching doesn't blend properly. I'm trying to find out exactly
>> what steps Hugin takes so that I can copy them on the command line. My
>> current settings are:
>>
>> copy source_project.pto project.pto
>>
>> cpfind.exe -o project.pto project.pto
>> cpclean.exe -o project.pto project.pto
>> linefind.exe -o project.pto project.pto
>> pto2mk -o project.pto.mk <http://project.pto.mk> -p project project.pto
>> make -f project.pto.mk <http://project.pto.mk> all clean
These are instructions for aligning and stitching a pair of photos
on the command-line, but for stitching a video stream you only need
to align one pair of photos in the Hugin GUI and use this .pto
project as a template to stitch all the others.
Once you have a .pto project as a template, you can use it to
process any other pair of similar images like so:
nona -o temp template.pto left0123.jpg right0123.jpg
This creates two remapped images, called temp0001.tif and
temp0002.tif. You can join them together with enblend:
enblend --no-optimize -o 0123.jpg temp0001.tif temp0002.tif
The result is a single joined frame called 0123.jpg
Hope this helps, note that the same process should work for more
than two cameras.
--
Bruno
--
--
Jim Watters
http://photocreations.ca
--
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/hugin-ptx/assp.4971f3b319.52372948.2070609%40photocreations.ca.
For more options, visit https://groups.google.com/groups/opt_out.