Difference between revisions of "Hugin Stitcher tab"

From PanoTools.org Wiki
Jump to navigation Jump to search
(→‎File formats: no exr ldr output now and a warning about using other than tiff in some environments)
(Changes in hugin 2009.2 and hugin 2009.4)
Line 8: Line 8:
  
 
* [[Rectilinear Projection|Rectilinear]], this is the same projection as a photo taken with a 'normal' camera and lens.  Use this if you are just stitching a handful of photographs together with a narrow [[Field of View]] or [[Perspective correction|correcting perspective]] in a single shot.
 
* [[Rectilinear Projection|Rectilinear]], this is the same projection as a photo taken with a 'normal' camera and lens.  Use this if you are just stitching a handful of photographs together with a narrow [[Field of View]] or [[Perspective correction|correcting perspective]] in a single shot.
* [[Cylindrical Projection|Panorama]], actually a simple [[Cylindrical Projection]] as used by traditional rotating panoramic cameras.  A good projection for printing a 360 degree panorama, though you may prefer ''Mercator Projection''.
+
* [[Cylindrical Projection|Cylindrical]], actually a simple [[Cylindrical Projection]] as used by traditional rotating panoramic cameras.  A good projection for printing a 360 degree panorama, though you may prefer ''Mercator Projection''.
 
* [[Equirectangular Projection|Equirectangular]], the all purpose format for representing an entire spherical scene.  It covers 360 degrees horizontally as well as the [[zenith]] and [[nadir]].
 
* [[Equirectangular Projection|Equirectangular]], the all purpose format for representing an entire spherical scene.  It covers 360 degrees horizontally as well as the [[zenith]] and [[nadir]].
 
* [[Fisheye Projection|Fisheye]], the same projection as a photo taken with a ''fisheye lens''.  Better for representing a wide [[Field of View]] than ''rectilinear'', but in many cases ''Stereographic Projection'' gives less distortion than simple ''fisheye''.
 
* [[Fisheye Projection|Fisheye]], the same projection as a photo taken with a ''fisheye lens''.  Better for representing a wide [[Field of View]] than ''rectilinear'', but in many cases ''Stereographic Projection'' gives less distortion than simple ''fisheye''.
Line 15: Line 15:
 
* [[Projections#Transverse mercator projection|Trans Mercator]], a ''mercator'' image rotated 90 degrees, suitable for displaying tall or overhead objects.
 
* [[Projections#Transverse mercator projection|Trans Mercator]], a ''mercator'' image rotated 90 degrees, suitable for displaying tall or overhead objects.
 
* [[Projections#sinusoidal projection|Sinusoidal]], an ''equal area'' projection of an entire spherical scene.
 
* [[Projections#sinusoidal projection|Sinusoidal]], an ''equal area'' projection of an entire spherical scene.
* [[Lambert Equal Area Conical Projection|Lambert Equal Area Conical]]
+
* [[Lambert Equal Area Cylindrical Projection|Lambert Cylindrical Equal Area]]
 
* [[Lambert Equal Area Azimuthal Projection|Lambert Equal Area Azimuthal]]
 
* [[Lambert Equal Area Azimuthal Projection|Lambert Equal Area Azimuthal]]
 
* [[Albers Equal Area Conic Projection|Albers Equal Area Conic]]
 
* [[Albers Equal Area Conic Projection|Albers Equal Area Conic]]
Line 24: Line 24:
 
* [[Equisolid]]
 
* [[Equisolid]]
 
* [[Equirectangular Panini]]
 
* [[Equirectangular Panini]]
 +
* [[Biplane]]
 +
* [[Triplane]]
  
 
== Field of View ==
 
== Field of View ==
Line 73: Line 75:
 
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.
 
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 ===
+
=== Exposure fusion ===
  
If '''Blended panorama (enfuse)''' is enabled then hugin will group the input images into exposure stacks by comparing positions, any images with more than 90% overlap are grouped like this.  Each of these [[Bracketing|bracketed]] exposure stacks will be [[exposure blending|exposure blended]] with [[enfuse]] and the results stitched together into a panorama with [[enblend]].
+
If '''Fused and blended''' is enabled then hugin will group the input images into exposure stacks by comparing positions, any images with more than 90% overlap are grouped like this.  Each of these [[Bracketing|bracketed]] exposure stacks will be [[exposure blending|exposure blended]] with [[enfuse]] and the results stitched together into a panorama with [[enblend]].
  
 
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 Assistant tab]] or [[hugin Exposure tab]].
 
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 Assistant tab]] or [[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.
+
Note also that unlike '''Normal''' and '''HDR merging''' 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 additionally stitch each exposure layer into a separate panorama - Useful for manual exposure blending.  Note that hugin simply blends any photos with less then 0.2EV exposure difference together into each layer.
+
If '''Blended and fused''' is enabled then hugin will blend images with similar exposure with [[enblend]]  and than it will [[exposure blending|exposure blend]] them using [[enfuse]]. This variant is often much more succesful than previous in handhel bracketed panoramas stitching.
  
Enable '''Remapped images''' to keep the intermediate images supplied to [[enblend]].
+
Enable '''Blended exposure layers''' to keep a exposure layers from ''Blended and fused'' step. It's useful for manual exposure blending.  Note that hugin simply blends any photos with less then 0.2EV exposure difference together into each layer.
  
=== Merge to HDR ===
+
Enable '''Remapped images''' to keep the intermediate images supplied to [[enblend]] and [[enfuse]].
  
If '''Blended HDR panorama''' is enabled then hugin will identify likely [[Bracketing|bracketed]] stacks of images, then create remapped, deghosted HDR images which are then blended with [[enblend]].
+
=== HDR merging ===
  
Note that like the Exposure blending option above, this generally only makes sense if the scene has been photographed multiple times using exposure bracketing, and the EV exposure values optimised in the [[hugin Exposure tab]].
+
If '''Merged and blended panorama''' is enabled then hugin will identify likely [[Bracketing|bracketed]] stacks of images, then create remapped, deghosted HDR images which are then blended with [[enblend]].
  
Enable '''Stacked HDR images''' to keep copies of the remapped HDR images as supplied to enblend.
+
Note that like the Exposure fusion option above, this generally only makes sense if the scene has been photographed multiple times using exposure bracketing, and the EV exposure values optimised in the [[hugin Exposure tab]].
  
Enable '''Individual non merged images''' to keep copies of each image remapped in linear colour space before deghosting and merging to HDR.
+
Enable '''Remapped merged stacks''' to keep copies of the remapped HDR images as supplied to enblend.
 +
 
 +
Enable '''Remapped images''' to keep copies of each image remapped in linear colour space before deghosting and merging to HDR.
  
 
Click '''Stitch now!''' to generate output panoramas immediately.  Selecting '''Save project and send to batch''' adds the current project to the [[Hugin Batch Processor]] stitching queue, note that the queue won't be processed unless this queue manager is running.
 
Click '''Stitch now!''' to generate output panoramas immediately.  Selecting '''Save project and send to batch''' adds the current project to the [[Hugin Batch Processor]] stitching queue, note that the queue won't be processed unless this queue manager is running.
 +
 +
== Processing ==
 +
 +
=== Remapper ===
 +
Here you can set '''Interpolator''' and '''Save cropped images''' otpions.
 +
 +
=== Image fusion ===
 +
Here you can add aditional command line paramters for image fusion step.
 +
 +
=== HDR merger ===
 +
There is nothing to set.
 +
 +
=== Blender ===
 +
Here you can add aditional command line paramters for blending step.
 +
 +
 +
==File formats ==
 +
Here you can choose output format for the result panorama - TIFF, JPEG or PNG for '''Normal Output''' and  EXR or TIFF for '''HDR output'''.
 +
You can also set desired '''Compression''' for TIFF output :None, Packbits, LZW or Deflate.
  
 
= Processing =
 
= Processing =

Revision as of 01:42, 14 October 2009

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

Hugin can output 'normal' stitched images, exposure blended images or high dynamic range (HDR) images. The following options determine which kind of image is created, and allow keeping the intermediate images created during the process.

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 fusion

If Fused and blended is enabled then hugin will group the input images into exposure stacks by comparing positions, any images with more than 90% overlap are grouped like this. Each of these bracketed exposure stacks will be exposure blended with enfuse and the results stitched together into a panorama with enblend.

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 Assistant tab or hugin Exposure tab.

Note also that unlike Normal and HDR merging 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.

If Blended and fused is enabled then hugin will blend images with similar exposure with enblend and than it will exposure blend them using enfuse. This variant is often much more succesful than previous in handhel bracketed panoramas stitching.

Enable Blended exposure layers to keep a exposure layers from Blended and fused step. It's useful for manual exposure blending. Note that hugin simply blends any photos with less then 0.2EV exposure difference together into each layer.

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

HDR merging

If Merged and blended panorama is enabled then hugin will identify likely bracketed stacks of images, then create remapped, deghosted HDR images which are then blended with enblend.

Note that like the Exposure fusion option above, this generally only makes sense if the scene has been photographed multiple times using exposure bracketing, and the EV exposure values optimised in the hugin Exposure tab.

Enable Remapped merged stacks to keep copies of the remapped HDR images as supplied to enblend.

Enable Remapped images to keep copies of each image remapped in linear colour space before deghosting and merging to HDR.

Click Stitch now! to generate output panoramas immediately. Selecting Save project and send to batch adds the current project to the Hugin Batch Processor stitching queue, note that the queue won't be processed unless this queue manager is running.

Processing

Remapper

Here you can set Interpolator and Save cropped images otpions.

Image fusion

Here you can add aditional command line paramters for image fusion step.

HDR merger

There is nothing to set.

Blender

Here you can add aditional command line paramters for blending step.


File formats

Here you can choose output format for the result panorama - TIFF, JPEG or PNG for Normal Output and EXR or TIFF for HDR output. You can also set desired Compression for TIFF output :None, Packbits, LZW or Deflate.

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.

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 images unless you need to open them in an image editor without Cropped TIFF support.

enblend is the default Blender for use with hugin, normally there is no need to change this. Additional command-line Options can be set here or in the hugin Preferences for new projects.

enfuse is the default for Image fusion (Exposure Blending), Options are similar to enblend.

File formats

Normal Output can be in one several formats:

  • TIFF, various compression options. 16bit and 8bit depth supported. None compression is supported by most other applications, LZW compression is common in Windows/Mac applications and Deflate compression is more common with Linux tools.
  • JPG, lossy compression suitable for web/email. Quality can vary from 0 (extremely low quality, small file size) and 100 (high quality, large file size). A typical quality setting for web/email would be between 70 and 80
  • PNG, lossless compression. 16bit and 8bit depth supported.
Note that some versions of enblend doesn't support all output formats; as an example some Linux enblend versions will probably fail unless you choose TIFF.

HDR Output can be either:

  • floating-point TIFF, various compression options.
  • EXR, this is a high dynamic range format which is more compact than a high dynamic range TIFF.