Difference between revisions of "Align a stack of photos"

From PanoTools.org Wiki
Jump to navigation Jump to search
m (linkified)
m (note extended depth of field usage)
Line 5: Line 5:
 
* Aligning photos taken over a period of time to create a time-lapse movie.
 
* Aligning photos taken over a period of time to create a time-lapse movie.
 
* Aligning [[Bracketing|bracketed]] shots to create a single [[HDR]] or [[Contrast Blending|contrast blended]] image.
 
* Aligning [[Bracketing|bracketed]] shots to create a single [[HDR]] or [[Contrast Blending|contrast blended]] image.
 +
* Aligning photos taken at different focus distances to merge into a single extended [[Depth of Field]] image.
  
 
[[Panorama tools]] is particularly useful for this process since it allows
 
[[Panorama tools]] is particularly useful for this process since it allows

Revision as of 23:12, 12 November 2006

There are occasions where it is necessary to align a set of otherwise identical pictures:

  • Aligning red, green and blue channels to correct chromatic aberration.
  • Aligning photos taken over a period of time to create a time-lapse movie.
  • Aligning bracketed shots to create a single HDR or contrast blended image.
  • Aligning photos taken at different focus distances to merge into a single extended Depth of Field image.

Panorama tools is particularly useful for this process since it allows sub-pixel alignment and has a sophisticated lens correction model for applying distortion - Even photos taken years apart with different cameras can be aligned perfectly.

Most tools for HDR generation such as photomatix have some level of automatic alignment, so this may be sufficient for most purposes. Otherwise the hdrprep perl script automates the process described below:

Aligning with hugin

  • Create a few hundred control points between each pair of consecutive photos with the g key in the control point tab.
  • Fine tune all points and delete any with a correlation less than 90% (ie. enter -0.9 in select by distance and delete).
  • Optimise positions and delete any control points with an error greater than 0.2 pixels, reoptimise.
  • Adjust the field-of view in the stitching tab to something slightly smaller than the input size so there are no transparent edges.
  • Stitch to multiple TIFF format.