ImageStitch

ImageStitch[{image1,image2,}]

gives a composed image from an unordered list of imagei.

ImageStitch[{{image11,image12,},{image21,image22,},}]

returns a stitched image from a matrix of images imageij, according to their array position.

Details and Options

  • ImageStitch merges overlapping images into a single image. It is typically used when larger scenes are acquired through smaller subimages, such as a panoramic image of a scene, a sample under a microscope or satellite images of the Earth.
  • Images are always stitched together to show the object/scene as a 2D image.
  • The following options can be specified:
  • MethodAutomaticsettings to use for stitching
    TransformationClassAutomaticgeometrical relation between images
  • The Method option can be used to specify the following settings:
  • "HistogramEqualization"Truewhether to perform brightness equalization on images
    "ImageBlending""Feathering"the method to blend images
    "KeypointMethod"Automaticthe ImageCorrespondingPoints method
  • Possible settings for "ImageBlending" are "Feathering" (default), or {"Feathering",σ} or None.

Examples

open allclose all

Basic Examples  (1)

Stitch together a list of images:

Options  (2)

Method  (1)

By default, feathering is applied to image boundaries to blend stitched images:

Specify the scale of image blending:

Turn off image blending:

TransformationClass  (1)

By default, the transformation class is automatically picked:

Use a specific transformation:

Applications  (5)

Stitch images with different orientations:

Stitch an array of scanned microscopy images:

Stitch a sequence of aerial photographs:

A vertical panorama of a sequoia tree:

Stitch images including some camera rotations:

Properties & Relations  (1)

Different images may have captured parts of the scene with different exposures:

Perform color tone mapping to make larger parts of the resulting image visible:

Possible Issues  (2)

Images taken from different view points can introduce varying parallax that perspective transforms cannot handle, and stitching may produce artifacts:

Histogram equalization of input images can cause over- and underexposure:

Turn off the histogram equalization to avoid over- and underexposure, which may result in exposure differences along the seams:

Wolfram Research (13), ImageStitch, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageStitch.html.

Text

Wolfram Research (13), ImageStitch, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageStitch.html.

CMS

Wolfram Language. 13. "ImageStitch." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ImageStitch.html.

APA

Wolfram Language. (13). ImageStitch. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageStitch.html

BibTeX

@misc{reference.wolfram_2021_imagestitch, author="Wolfram Research", title="{ImageStitch}", year="13", howpublished="\url{https://reference.wolfram.com/language/ref/ImageStitch.html}", note=[Accessed: 24-January-2022 ]}

BibLaTeX

@online{reference.wolfram_2021_imagestitch, organization={Wolfram Research}, title={ImageStitch}, year={13}, url={https://reference.wolfram.com/language/ref/ImageStitch.html}, note=[Accessed: 24-January-2022 ]}