Painless Panorama Stitching in Linux with Hugin
Getting Started With HuginA previous article described how to make small panoramas with fotoxx. But when you get serious about panoramas on Linux, there's really only one answer: Hugin.
Named after a raven of Norse legend who brought information to the god Odin, Hugin and the Panorama Tools libraries have been around for years. But until recently they've been quite difficult to use. That's no longer true: today, with just a few clicks, anyone can create a spectacular panorama in Hugin.
Hugin is available as a package on most Linux distros -- so install it and take a look!
The main window starts in the Assistant tab (Figure 1), showing the steps you'll need to follow.
Step 1 is to load your images. In the file selector, you can use Ctrl-click and Shift-click to select all your images at once; no need to load them one by one. Unfortunately, hugin doesn't take note of the directory you're in and there's no way to pass it images from the command line, so you'll have to navigate to wherever your images are.
Step 2: click Align, then go make coffee. This step takes quite a while -- Hugin is doing a lot of math under the hood to adjust for lens warp, find the places where your images overlap and match them all.
Eventually, the Fast Panorama Preview window will appear (Figure 2).
You may need to resize it if it comes up too small.
You'll see obvious seams where one image is darker than the next. Don't worry about that -- Hugin will handle those details later.
Assuming the fast preview looks okay, proceed to Step 3:
- 1Linux Top 3: Fedora 24, Peppermint 7 and Solus 1.2
- 2Linux Top 3: Alpine Linux 3.4, deepin 15.2 and Linux Lite 3.0
- 3Linux 4.7 Set to Boost Live Patching, Security and Power Management
- 4Linux 4.6 Charred Weasel adds USB 3.1 Support
- 5Linux Top 3: OpenIndiana 2016.04, Ubuntu 16.04 and Debian's New Leader