Edward’s Notes

Technical topics and photos.

Creating Panoramic Photos With Hugin

While on holidays in Australia I took a number of photo sequences to see if I could stitch them together into panoramic images. I used Hugins1, which is a cross platform application, to stitch the photos together. The basic steps are given in a hugin tutorial2. The following is the sequence of images used to generate a panoramic image.

First photo in Panorama sequence Second photo in Panorama sequence Third photo in Panorama sequence Forth photo in Panorama sequence Fifth photo in Panorama sequence

Sixth photo in Panorama sequence Seventh photo in Panorama sequence Eithth photo in Panorama sequence Ninth photo in Panorama sequence Thenth photo in Panorama sequence

After loading these into hugin you can have them automatically aligned and stitched into an image. It is also possible to compensate for lens distortion. You can either do this manually3 or find the parameters in the lensfun database4. I was using a Nikkor 18-55mm f/3.5-5.6G ED AF-S DX so the lens parameters where.


focal lengthdistortion(a)barrel(b)distortion©
180.003409-0.0191280
200.0042-0.0186250
240.001149-0.0086570
280-0.0030410
310-0.0036640
350-0.0023710
450-0.0016550
550-0.0010040

This generated the following.

Stiched panorama straight from hugin

which after cropping resulted in.

Cropped Panoramic image

Bellow is another panoramic photo I generated using the same process.

Stiched panorama straight from hugin

Cropped Panoramic image

Comments