Hugin and panoramas: some tips to start
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.
At 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 within our scene. And’ There may be shown this window:
For those who knew the’the angle of field amplitude, 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 one and the photos. In this way we must not do the job at hand, and Hugin is able to know how to deform the image to overlay all equal points.
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 Hugin alignment 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.