Cookie

TheJoe.it Into the (open) source

2Jun/101

Hugin and panoramas: some tips to start

Caution!

This article was written in the 2010, there may have been some developments in the subject matter.
If in doubt please leave a comment in the bottom of the article.
Thanks.

miniature

I've read more than once, some comments of users dissatisfied Hugin because of some insurmountable rocks found during the operation of the program. Personally, I had some difficulties at the beginning (Hugin has so many options that you run the risk of getting lost), but after a few attempts the result is assured.

For the uninitiated Hugin is a software open source, available for all operating systems, easily available in the network, which takes care of creating panoramas starting from the photos. To create a panorama simply hold a camera and take two or more photos in a circle, standing firm on themselves. When you upload the photo in Hugin will take care of align, correct color, the gamma and paste together. We will then carefully edit the final picture with Gimp if the job requires it.

To begin with Hugin is present in the repository of the major GNU / Linux distributions, installs easily with your favorite package manager. For those who prefer the terminal "sudo apt-get install hugin" in the case of Debian and "yum -y install hugin" in the case of Red Hat. Along with Hugin will be installed some dependence (come Autopano the Panomatic) for ricereca of the control points on the images. We will see later what it is.

When starting the application this is the main screen:

I note that since it was introduced the tab "Assistant" the work is very Simplified. Hugin practically takes care of everything automatically, without the need of large manual interventions.

Click on "Upload images" and select ("Ctrl" + click on) all the images that we want in our view. And 'we may be shown this window:

For those who know the 'amplitude of the angle of field, o la focal length Lens, this tool could be very useful, to those who do not care and just wants the landscape with pictures he took can click "Cancel".

Now that we have uploaded photos must align, and deformarle so that equal parts of one or the photo overlap. To do this, Hugin is supported by its dependence we mentioned a few lines ago. Autopano the Panomatic (must be installed in part of Windows). These two small programs are only search of the control points.

The control points are points in common to two or more photos that we have "paste". When Autopano the Panomatic seek control points, through an algorithm assigning same numbers at coordinate of both photos. In this way we must not do the job at hand, Hugin and is able to know how much to deform the image to overlay all points equal.

By clicking on "Align", if everything works as it should, a window will appear in which we are given the control points and related coordinate detected. We must not do anything, Autopano or Panomatic dealing automatically of all the work, and repass to Hugin for the correction of color and gamma.

It may happen, however, that the prebuilt package in Hugin contains errors that do not allow the detection of control points (often with Fedora). In this case we go on "File" - "Preferences" - "Searcher control points", and we check that the default is the program actually installed. If it is not we make it the default program that is installed with Hugin and try again.

Even in this case may not work. We need to return to "File" - "Preferences" - "Searcher control points" and change program settings default. Meanwhile, check with the terminal that the program exists, then modify topics and, if it is not already so, insert the following string: "--maxmatches %p %o %i".

At this point there should be no problems. We confirm and on riclicchiamo "Align" in the main screen.

After aligning Hugin shows us a low-resolution preview the "Collage" of photos, without correction brightness and gamma. The preview is shown to us if we wanted a different effect the final panorama. By clicking on "Drag" you can move the photos in order to give a deformation sought, with the button "Clipping" cut the black areas that will not affect. In this case I wanted to give the effect "wide-angle".

When we finished with the preview close the window.

At the end click on "Create panorama", choose where to save our landscape and expect to automatically close the window of the panorama.

In less than no time we will have our landscape format ".tif", I report that after a short edit with Gimp.

Edit - 13feb2011: I recommend everyone to take a ride on "Hugin User Group", a group of users Hugin, I recently created within a set of my Flickr account in which I show all my panoramic photos.

About

I keep this blog as a hobby by 2009. I am passionate about graphic, technology, software Open Source. Among my articles will be easy to find music, and some personal thoughts, but I prefer the direct line of the blog mainly to technology. For more information contact me.

Comments (1) Trackbacks (0)
  1. Boys, I recommend this program too.
    I just started to make panoramic photos, and it really is exceptional!
    And’ easy to use, and at the end of the RESULTS are wonderfully good! 😀
    Bravo TheJoe! 😉


Leave a comment

No trackbacks yet.