Hugin Preview window

From Wiki
Revision as of 00:26, 7 June 2007 by Bruno (talk | contribs) (EV)
Jump to: navigation, search

hugin provides a pop-up window showing a preview of the final stitched result. This is a smaller version of the output created by saving to a file in the hugin Stitcher tab with some differences:

  • Reduced resolution input images are used, so some areas can appear blurred that will be sharp in the final output.
  • Seams are not created, images are simply overlaid with the first image at the bottom of the stack and the last at the top.
  • Blending by a tool such as enblend isn't shown.
  • The brightness display of HDR and 16bit images is controlled by settings in the hugin Preferences, these settings are not used when stitching.



This button horizontally pans the output, changing the yaw of the remapped images so they fit to the centre of the output frame. This is useful if there is a lot of black space on the left or right of the output. This also performs a Fit, equivalent to the next button.

Note that centering a Rectilinear Projection or Fisheye Projection panorama will change the perspective, this may be unwanted.


This doesn't change any input image parameters, it just readjusts the output Field of View such that all the input images are visible. If the images are all off-centre, then there will be a lot of black space.


Straightening the panorama optimises the roll and pitch of the input images without changing their relative positions, levelling the panorama in the process. This normally produces good results, if you need more accurate positioning, try adding vertical control points in the hugin Control Points tab.

Num. Transf.

This opens up a pop-up window that allows you to enter a numerical transform to rotate the input images without changing their relative positions - Effectively this rotates the entire panorama.

Enter roll, pitch and yaw values in degrees, note that you can also realign the panorama by left and right-clicking in the preview image itself, though this is not so precise.


Setting Auto will regenerate the preview every time something changes in the project. This can be slow with large preview windows, so you may want to disable Auto or reduce the size of the window.


When Auto is unset, the preview doesn't regenerate when something changes in the project. Click Update to force a regeneration manually.


By default all input images are shown in the preview, however individual images can be enabled and disabled in the Displayed images section. Use the All button to return to the default and display all the images.


Similarly, hide all images with the None button, use this if you want to enable preview images one by one.

displayed images

Every input image in the preview has toggle button where display can be disabled or enabled.

In addition, if Optimize and stitch only images selected in preview window is selected in the Misc section of the hugin Preferences, then this display also controls the behaviour of the hugin Optimizer tab and the hugin Stitcher tab


The image window itself shows a representation of the final stitched output panorama, use the scroll bars to change the horizontal and vertical Field of View.

A Left-Click with the mouse in this image window will shift all the images, without changing their relative positions, such that the clicked point becomes the centre of the panorama.

A Right-Click with the mouse will rotate all the images, without changing their relative positions, such that the clicked point is level with the central horizon line.

Preview options


Use the drop down list to change the output projection of the panorama, the list is exactly the same as that in the hugin Stitcher tab. Note that for some projections, the scroll-bar sliders to change the Field of View are disabled. If you are having trouble, switch to Equirectangular Projection, adjust the field of view and switch back.

Blend mode

  • normal blend mode simply shows all selected images as a stack.
  • difference blend mode highlights differences between overlapping images. If the images are well aligned, there will be few differences and the overlap will appear mostly black.


Changing the Output here tells hugin if you intend to create a low dynamic range (LDR) or high dynamic range (HDR) output panorama - If in doubt select LDR as this is the format of a normal photo, HDR images are only viewable with additional specialist processing.

Selecting HDR will do three things:

  • The blend mode of the images will be changed, effectively overlapping input photos with varying exposure will be composited into a single high dynamic range (HDR) output - This also effects the nona output generated in the hugin Stitcher tab.
  • The preview display will be changed to a logarithmic photometric view - This allows you to see something from both dark and bright areas of the scene, though the contrast will be very low.
  • You will only be able to generate floating-point TIFF or RGBE Radiance HDR images in the hugin Stitcher tab TODO: not actually the case.


EV stands for Exposure Value, clicking the Reset button or setting it to 0 (zero) will result in no exposure change being applied to the panorama.

EV is a standard photographic scale, each increase or decrease will change the exposure by the equivalent of one f-stop (ie. halving or doubling the exposure). It is worth adjusting the exposure here in hugin rather than later in an external image editor, since hugin uses the camera response curve calculated in the hugin Exposure tab to perform the correction in a linear colour space.