I am having a huge series of images, where each shot consists of two photos:
001_left.jpeg & 001_right.jpeg
002_left.jpeg & 002_right.jpeg
Now, I'd like to create a time-lapse from these pictures. But first, I need to stitch these pairs together. I, therefore, wrote a PowerShell script to automate this task. Let me describe the current steps involved.
My current approach:
- Load one image pair into Hugin's UI (simple view), run align and save the project file, e.g.
- Create groups of images (with the help of the script) and run
nona -o 001_result.jpeg -m JPEG template.pto 001_left.jpg 001_right.jpgon each of them.
ffmpegon the resulting files and create a video
This process works so far, however, it is flawed:
Flaws of this approach
When the brightness close to the seam increases, artifacts are introduced (sun raising high and getting close to the seam). Please see example images and video. At around 17 seconds the problem should be visible right in the middle of the video.
Even on my beefy machine (Intel Xeon E5-1620 v2 @ 3.70GHz) stitching a pair takes roughly 4 seconds. I'll have to stitch around 97'500 images, resulting in 4.5 days of processing time!
- How can I harmonize the stitching process (control points?) across the set of images?
- How can improve stitching performance?