gives a composed image from an unordered list of imagei.


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


projects the stitched image onto the geometry specified by canvas.

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 or scene as a 2D image.
  • By default, the most suitable canvas geometry is chosen.
  • Possible projection canvas geometries are:
  • "Plane"planar stitching
    "Cylinder"rolled out cylindrical projection
    "Sphere"return an equirectangular projection
  • By default, the center of gaze is assumed to be the center of the stitched image.
  • The stitched image will have the same orientation as the most central subimage.
  • To specify the center of gaze and orientation of the resulting image, additional canvas specifications are:
  • {"canvas",n}places the center of gaze at the center of the n^(th) image
    {"canvas",n{x,y}}center of gaze at the {x,y} position in the n^(th) image
    {"canvas",n{x,y},α}rotates the image vertical by angle
    {"canvas",n{x1,y1},m{x2,y2}}rotates the image such that {x1,y1} of the n^(th) image and {x2,y2} of the m^(th) image fall on a horizontal line
  • The following options can be specified:
  • Method Automaticsettings to use for stitching
    TransformationClass Automaticgeometrical 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.


open allclose all

Basic Examples  (1)

Stitch together a list of images:

Scope  (1)

Canvas  (1)

By default the most suitable canvas is automatically chosen.

Enforce a planar stitching:

Enforce cylindrical stitching:

Perform spherical stitching:

Specify the center of gaze to be the coordinate in the third image:

Options  (3)

Method  (2)

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

Specify the scale of image blending:

Turn off image blending:

By default, histogram equalization is performed on images:

Turn off the histogram equalization:

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  (1)

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

Wolfram Research (2021), ImageStitch, Wolfram Language function, (updated 2022).


Wolfram Research (2021), ImageStitch, Wolfram Language function, (updated 2022).


Wolfram Language. 2021. "ImageStitch." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022.


Wolfram Language. (2021). ImageStitch. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_imagestitch, author="Wolfram Research", title="{ImageStitch}", year="2022", howpublished="\url{}", note=[Accessed: 14-July-2024 ]}


@online{reference.wolfram_2024_imagestitch, organization={Wolfram Research}, title={ImageStitch}, year={2022}, url={}, note=[Accessed: 14-July-2024 ]}