Image stitching

Image stitching

Image stitching or photo stitching is the process of combining multiple photographic images with overlapping fields of view to produce a segmented panorama or high-resolution image. Commonly performed through the use of computer software, most approaches to image stitching require nearly exact overlaps between images and identical exposures to produce seamless results.[1] Some digital cameras can stitch their photos internally.

Alcatraz Island, seen in an example of a panorama created by image stitching


Stages of the stitching process

Example for geometrical registration and stitch line in panorama creation.

The image stitching process can be divided into three main components - image registration, calibration and blending.

Image registration involves matching features[2] in a set of images or using direct alignment methods to search for image alignments that minimize the sum of absolute differences between overlapping pixels.[3] When using direct alignment methods one might first calibrate one's images to get better results. Additionally, users may input a rough model of the panorama to help the feature matching stage, so that - for example - only neighboring images are searched for matching features. Since there are smaller group of features for matching, the result of the search is more accurate and execution of the comparison is faster.

Image calibration aims to minimize differences between an ideal lens models and the camera-lens combination that was used, optical defects such as distortions, exposure differences between images, vignetting,[4] camera response and chromatic aberrations. If feature detection methods were used to register images and absolute positions of the features were recorded and saved, stitching software may use the data for geometric optimization of the images in addition to placing the images on the panosphere. Panotools and its various derivative programs use this method.

Image blending involves executing the adjustments figured out in the calibration stage, combined with remapping of the images to an output projection. Colors are adjusted between images to compensate for exposure differences. If applicable, high dynamic range merging is done along with motion compensation and deghosting. Images are blended together and seam line adjustment is done to minimize the visibility of seams between images.

Projection geometry

Comparing distortions near poles of panosphere by various cylindrical formats.

For image segments that have been taken from the same point in space, stitched images can be arranged using one of various map projections.

Rectilinear projection, where the stitched image is viewed on a two-dimensional plane intersecting the panosphere in a single point. Lines that are straight in reality are shown as straight regardless of their directions on the image. Wide views - around 120° or so - start to exhibit severe distortion near the image borders. One case of rectilinear projection is the use of cube faces with cubic mapping for panorama viewing. Panorama is mapped to six squares, each cube face showing 90 by 90 degree area of the panorama.

Cylindrical projection, where the stitched image shows a 360° horizontal field of view and a limited vertical field of view. Panoramas in this projection are meant to be viewed as though the image is wrapped into a cylinder and viewed from within. When viewed on a 2D plane, horizontal lines appear curved while vertical lines remain straight.[5] Vertical distortion increases rapidly when nearing the top of the panosphere. There are various other cylindrical formats, such as Mercator and Miller cylindrical which have less distortion near the poles of the panosphere.

Spherical projection or equirectangular projection — which is strictly speaking another cylindrical projection — where the stitched image shows a 360° horizontal by 180° vertical field of view i.e the whole sphere. Panoramas in this projection are meant to be viewed as though the image is wrapped into a sphere and viewed from within. When viewed on a 2D plane, horizontal lines appear curved as in a cylindrical projection, while vertical lines remain vertical.[5]

Since a panorama is basically map of a sphere, various other mapping projections from cartographers can also be used if so desired. Additionally there are specialized projections which may have more aesthetically pleasing advantages over normal cartography projections such as Hugin's Panini projection[6] - named after Italian vedutismo painter Giovanni Paolo Pannini[7] - or PTgui's Vedutismo projection.[8] Different projections may be combined in same image for fine tuning the final look of the output image.[9]

Stereographic projection or fisheye projection can be used to form a little planet panorama by pointing the virtual camera straight down and setting the field of view large enough to show the whole ground and some of the areas above it; pointing the virtual camera upwards creates a tunnel effect. Conformality of the stereographic projection may produce more visually pleasing result than equal area fisheye projection as discussed in the stereographic projection's article.

Challenges of image stitching

The use of images not taken from the same place (on a pivot about the entrance pupil of the camera)[10] can lead to parallax errors in the final product. When the captured scene features rapid movement or dynamic motion, artifacts may occur as a result of time differences between the image segments. "Blind stitching" through feature-based alignment methods (see autostitch), as opposed to manual selection and stitching, can cause imperfections in the assembly of the panorama.

Image stitching software

Dedicated programs include Autostitch, Hugin, Ptgui, Panorama Tools, Microsoft Research Image Composite Editor, and CleVR Stitcher. Many other programs can also stitch multiple images; a popular example is Adobe Systems' Photoshop, which includes a tool known as Photomerge and, in the latest versions, the new Auto-Blend.

See also


  1. ^ Ward, Greg (2006). "Hiding seams in high dynamic range panoramas". Proceedings of the 3rd symposium on Applied perception in graphics and visualization. 153. ACM International Conference Proceeding Series. ACM. doi:10.1145/1140491.1140527. ISBN 1-59593-429-4. 
  2. ^ Szeliski, Richard (2005) (PDF). Image Alignment and Stitching. Retrieved 2008-06-01. 
  3. ^ S. Suen; E. Lam, and K. Wong (2007). "Photographic stitching with optimized object and color matching based on image derivatives". Optics Express 15: 7689–7696. doi:10.1364/OE.15.007689. PMID 19547097. 
  4. ^ Pablo d'Angelo (2007). Radiometric alignment and vignetting calibration. 
  5. ^ a b Wells, Sarah et al. (2007). IATH Best Practices Guide to Digital Panoramic Photography. Retrieved 2008-06-01. 
  6. ^, hugin manual: Panini
  7. ^, hugin-ptx mailing list, December 29, 2008
  8. ^ PTgui: Projections
  9. ^, PTAssembler projections: Hybrid
  10. ^ Littlefield, Rik (2006-02-06) (PDF). Theory of the "No-Parallax" Point in Panorama Photography. ver. 1.0. Retrieved 2008-06-01. 

Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Stitching — (englisch stitch „nähen“, „heften“) bezeichnet in der Fotografie das Erstellen einer großen Fotografie aus verschiedenen kleineren Einzelaufnahmen. Stitching wird vorwiegend für Aufnahmen genutzt, welche aufgrund der Dimensionen nicht auf… …   Deutsch Wikipedia

  • Image registration — Registering and summing multiple exposures of the same scene improves signal to noise ratio, allowing to see things previously impossible to see. In this picture, the distant Alps are made visible, although they are tens of kilometers into the… …   Wikipedia

  • Image organizer — An image organizer or image management application is application software focused on organizing digital images. [Cynthia Baron and Daniel Peck, The Little Digital Camera Book , July 1, 2002 pp:93] [ Julie Adair King, Shoot Like a Pro! Digital… …   Wikipedia

  • Image-based Lighting — High Dynamic Range Rendering (HDRR) bezeichnet in der Computergrafik die Bildsynthese („Rendering“) unter Berücksichtigung der in der Natur vorkommenden großen Helligkeitsschwankungen. Im Gegensatz zu den herkömmlichen 256 Helligkeitsabstufungen… …   Deutsch Wikipedia

  • stitching —    Combining multiple strips of an image captured with a hand scanner into a single large image …   IT glossary of terms, acronyms and abbreviations

  • Microsoft Research Image Composite Editor — Microsoft Image Composite Editor Screenshot of Microsoft Image Composite Editor v1.3.5 on Windows 7 stitching an 88 megapixel panorama of a valley Developer(s) Microsoft Stable release …   Wikipedia

  • Comparison of photo stitching applications — Photo stitching applications are a common inexpensive way of producing panoramic pictures. The other method involves using panoramic cameras or panoramic mirror lenses (i.e. one shot lenses). Contents 1 General 2 HDR, tonemapping and exposure… …   Wikipedia

  • Comparison of image viewers — This article presents a comparison of image viewers and image organizers which can be used for image viewing. Contents 1 General information 2 Supported file formats 3 Supported desktop environments …   Wikipedia

  • High Dynamic Range Image — Ein High Dynamic Range Image (HDRI, HDR Bild, „Bild mit hohem Dynamikumfang“) oder Hochkontrastbild ist ein digitales Bild, das die in der Natur vorkommenden großen Helligkeitsunterschiede detailreich speichern kann. Herkömmliche digitale Bilder …   Deutsch Wikipedia

  • Digital camera back — Kodak DCS420 digital camera, consisting of a modified Nikon N90s body (left) and a digital back (right) shown here separated …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”