Panorama Stitching Tools For Linux (Fedora Core 5)

‹ Thunder | Preventing mass scraping or mirroring downloads ›

I took a couple shots of the opposite wall of Tiger Leaping Gorge when we drove through it in June. I had planned to stitch them together into a panorama when I got back. The inspiration struck me to do that just now, so I did a quick search to see if there was any new software for Linux since the last time I checked.

There's now a UI for panorama stitching called hugin. It's even been packaged it up as an RPM (fc5 packages). Unfortunately, whenever I tried to "optimize" the panorama, all versions of hugin 0.6 that I tried crashed. I downloaded the fedora core 4 rpm for hugin 0.5, and that seemed to work.

I set up control points, ran the default optimize, set up the program to use enblend, and stitched the panorama. After a really long time, it produced a TIFF file which looked like this:

First Attempt At Panorama with hugin

After looking at the curvature, I realized that I should have probably rotated the input images before feeding them into hugin, since the projections are all set up assuming that your images are upright to start with.

So I tried again. Luckily, hugin accepts lossless PNG files as input images, so the re-save after rotating the input jpegs didn't lose any image information. The result of the second attempt (cropped this time) looked roughly the same.

Tiger Leaping Gorge Panorama

I tried stitching a second panorama, and realized that enblend was taking a long time because it had allocated more memory than I have and was spending most of its time thrashing my swap. I added "-m 256" to the options passed to enblend in hugin's preferences dialog, and the stitching process sped up quite nicely.

I'll continue to update this page with any progress I make.

Subscribe to All Posts - Wesley Tanaka