Difference between revisions of "Hugin Stitcher tab"

From PanoTools.org Wiki
Jump to navigation Jump to search
(rearranged)
(Unfinished updating to match latest hugin)
Line 35: Line 35:
 
* Transverse Mercator has to be less than 180 degrees horizontally.
 
* Transverse Mercator has to be less than 180 degrees horizontally.
  
== Panorama Image Size ==
+
== Panorama Canvas Size ==
  
 
Set the '''width''' and '''height''' of your output panorama in pixels.  '''Calculate Optimal Size''' will estimate
 
Set the '''width''' and '''height''' of your output panorama in pixels.  '''Calculate Optimal Size''' will estimate
Line 47: Line 47:
 
than about half the size of the ''Optimal Size'' will show [[aliasing]] artefacts.  If you want to create high quality
 
than about half the size of the ''Optimal Size'' will show [[aliasing]] artefacts.  If you want to create high quality
 
small images, it is better to create an ''Optimal Size'' image in hugin and downsize it later in an image editor such as the [[Gimp]].
 
small images, it is better to create an ''Optimal Size'' image in hugin and downsize it later in an image editor such as the [[Gimp]].
 +
 +
== Crop ==
 +
 +
The crop settings allow just a portion of the panorama to be stitched, there are various reasons to do this:
 +
 +
* When [[Perspective correction|correcting perspective]] large areas of the panorama output will be empty anyway.
 +
* Large 'gigapixel' style panoramas can be stitched in sections then blended later.
 +
 +
The cropped-out areas are shown darkened in the [[hugin Preview window]].
  
 
== Output ==
 
== Output ==
Line 52: Line 61:
 
TODO Hugin will produce images in one or more formats depending on the following settings.
 
TODO Hugin will produce images in one or more formats depending on the following settings.
  
If '''Blended panorama''' is enabled then [[enblend]] is used for blending. In the final stitching process [[nona]] reprojects and distorts images to fit, '''enblend''' takes these images as individual [[TIFF]] files and merges them using sophisticated seam positioning and blending into a single finished '''TIFF''' file. Further '''enblend''' settings can be found in the [[hugin Preferences]].
+
=== Normal ===
 +
 
 +
If '''Blended panorama''' is enabled then [[enblend]] is used for blending. In the final stitching process [[nona]] reprojects and distorts images to fit, '''enblend''' takes these images as individual [[TIFF]] files and merges them using sophisticated seam positioning and blending.  Further '''enblend''' settings can be found in the [[hugin Preferences]].
 +
 
 +
Enable '''remapped images''' if you want to keep the intermediate images that '''enblend''' uses as input - For example modifying the [[alpha channel]] of these images and then blending manually is one technique for including and excluding people or objects that move between shots.
 +
 
 +
=== Exposure Blending ===
 +
 
 +
If '''Blended panorama (enfuse)''' is enabled then hugin will group the input images into exposure layers by comparing the EV exposure values.  Each exposure layer will be stitched into a separate panorama with [[enblend]] and then each of these [[Bracketing|bracketed]] panoramas will be [[exposure blending|exposure blended]] with [[enfuse]].
 +
 
 +
Note that for this to work, the scene has to be photographed multiple times using exposure [[bracketing]] and the EV exposure values set either manually in the [[hugin Camera and Lens tab]], automatically from [[EXIF]] data or by optimising exposure in the [[hugin Exposure tab]].
 +
 
 +
Note also that unlike '''Normal''' and '''Merge to HDR''' options where images are exposure corrected as part of the remapping process, enfuse requires that each exposure layer is supplied uncorrected - Hugin takes care of this automatically and will not apply correction in this case.
 +
 
 +
Enable '''Blended exposure layers''' to keep copies of each layer as supplied to enfuse as input.
 +
 
 +
Enable '''Remapped images''' to keep the intermediate images supplied to [[enblend]].
 +
 
 +
=== Merge to HDR ===
 +
 
 +
TODO
  
 
Click '''Save project and stitch''' to generate output panoramas immediately or '''Save project and send to batch''' to create a Makefile for later batch stitching.
 
Click '''Save project and stitch''' to generate output panoramas immediately or '''Save project and send to batch''' to create a Makefile for later batch stitching.
Line 66: Line 95:
  
 
== Output File options ==
 
== Output File options ==
 
TODO hugin now just does TIFF and OpenEXR so the following is redundant:
 
  
 
The output image can be in one several formats:
 
The output image can be in one several formats:
Line 74: Line 101:
 
* '''[[PNG]]''', lossless compression. Blending also not available.
 
* '''[[PNG]]''', lossless compression. Blending also not available.
 
* '''[[TIFF]]''', various compression options. [[16bit]] and [[HDR|high dynamic range]] formats are supported.  Blending is available via [[enblend]] (by creating temporary '''Multiple TIFF''' files and blending them into a single '''TIFF''').
 
* '''[[TIFF]]''', various compression options. [[16bit]] and [[HDR|high dynamic range]] formats are supported.  Blending is available via [[enblend]] (by creating temporary '''Multiple TIFF''' files and blending them into a single '''TIFF''').
* '''Multiple TIFF''', same as '''TIFF''' except with one output file for each input photo.  This format is suitable for command-line blending in [[enblend]]
 
* '''Multilayer TIFF''', same as '''Multiple TIFF''' except a single multilayer file is created.  This can be opened in the [[gimp]] for manual blending.
 
 
* '''HDR''', Radiance [[RGBE]] format.  This is a high dynamic range format which is more compact than a high dynamic range TIFF.
 
* '''HDR''', Radiance [[RGBE]] format.  This is a high dynamic range format which is more compact than a high dynamic range TIFF.
  
[[Cropped TIFF]] files are smaller and more efficient because unused parts of the image are not stored in the file.  You should
+
TODO where is this set? [[Cropped TIFF]] files are smaller and more efficient because unused parts of the image are not stored in the file.  You should
 
always '''save cropped layers''' unless you need to open them in an image editor without [[Cropped TIFF]] support.
 
always '''save cropped layers''' unless you need to open them in an image editor without [[Cropped TIFF]] support.
  
 
__NOTOC__
 
__NOTOC__
 
[[Category:Software:Hugin]]
 
[[Category:Software:Hugin]]

Revision as of 02:26, 8 January 2008

The rest of hugin is all about setting up the project and aligning images, the Stitcher tab is where the final output file is created.

Panorama

Here you can set the output Projection of your project, there are lots to choose from, each with different advantages and disadvantages:

Field of View

This is the horizontal and vertical angle of view of the output image, clicking Calculate Field of View will shrink or enlarge the field of view of the output to fit the arrangement of the input images - The Fit button in the Hugin Preview window does the same thing.

Note that some Projections have a limited field of view, notably:

  • Rectilinear has to be less than 180 degrees both vertically and horizontally.
  • Panoramic (cylindrical) has to be less than 180 degrees vertically.
  • Stereographic has to be less than 360 degrees both vertically and horizontally.
  • Mercator has to be less than 180 degrees vertically.
  • Transverse Mercator has to be less than 180 degrees horizontally.

Panorama Canvas Size

Set the width and height of your output panorama in pixels. Calculate Optimal Size will estimate a size that has about the same resolution as your input images.

Some examples: a three megapixel image has pixel dimensions of 2048 x 1536, an A4 print at 300 pixels per inch will have a pixel size of 3500 x 2480, a full screen spherical Equirectangular Projection image will have pixel dimensions of 6000 x 3000 or greater and a gigapixel image has a pixel size of 32768 x 32768.

Note that the interpolation used by hugin doesn't handle downsampling very well, so output images smaller than about half the size of the Optimal Size will show aliasing artefacts. If you want to create high quality small images, it is better to create an Optimal Size image in hugin and downsize it later in an image editor such as the Gimp.

Crop

The crop settings allow just a portion of the panorama to be stitched, there are various reasons to do this:

  • When correcting perspective large areas of the panorama output will be empty anyway.
  • Large 'gigapixel' style panoramas can be stitched in sections then blended later.

The cropped-out areas are shown darkened in the hugin Preview window.

Output

TODO Hugin will produce images in one or more formats depending on the following settings.

Normal

If Blended panorama is enabled then enblend is used for blending. In the final stitching process nona reprojects and distorts images to fit, enblend takes these images as individual TIFF files and merges them using sophisticated seam positioning and blending. Further enblend settings can be found in the hugin Preferences.

Enable remapped images if you want to keep the intermediate images that enblend uses as input - For example modifying the alpha channel of these images and then blending manually is one technique for including and excluding people or objects that move between shots.

Exposure Blending

If Blended panorama (enfuse) is enabled then hugin will group the input images into exposure layers by comparing the EV exposure values. Each exposure layer will be stitched into a separate panorama with enblend and then each of these bracketed panoramas will be exposure blended with enfuse.

Note that for this to work, the scene has to be photographed multiple times using exposure bracketing and the EV exposure values set either manually in the hugin Camera and Lens tab, automatically from EXIF data or by optimising exposure in the hugin Exposure tab.

Note also that unlike Normal and Merge to HDR options where images are exposure corrected as part of the remapping process, enfuse requires that each exposure layer is supplied uncorrected - Hugin takes care of this automatically and will not apply correction in this case.

Enable Blended exposure layers to keep copies of each layer as supplied to enfuse as input.

Enable Remapped images to keep the intermediate images supplied to enblend.

Merge to HDR

TODO

Click Save project and stitch to generate output panoramas immediately or Save project and send to batch to create a Makefile for later batch stitching.

Processing

nona is the default Remapper (stitching engine) supplied with hugin, normally there is no need to change this or any of the options below.

Set the Interpolator (i) to change the sampling interpolation. You probably won't notice much difference between the various options except that Nearest Neighbour is fast but with very low quality. The default of Poly3 (bicubic) is generally good for most purposes.

Output File options

The output image can be in one several formats:

  • JPG, lossy compression suitable for web/email. Blending with enblend not is available, so seams may be obvious.
  • PNG, lossless compression. Blending also not available.
  • TIFF, various compression options. 16bit and high dynamic range formats are supported. Blending is available via enblend (by creating temporary Multiple TIFF files and blending them into a single TIFF).
  • HDR, Radiance RGBE format. This is a high dynamic range format which is more compact than a high dynamic range TIFF.

TODO where is this set? Cropped TIFF files are smaller and more efficient because unused parts of the image are not stored in the file. You should always save cropped layers unless you need to open them in an image editor without Cropped TIFF support.