Skip to content

Panorama stitching

Algorithm atlasPhotography

Combine overlapping images through matching, camera estimation, warping and blending.

Try it on your image ↓

VISUAL WALKTHROUGHPhotography
REFERENCE INPUTOverlapping views

Shared content ties neighbouring images into one panorama.

RESULTBlend the panorama

A successful stitch requires consistent geometry and exposure. The final scene is an illustrative panorama, not a native stitch of the two drawings.

STEP 03 / 03

Compensate exposure and blend overlaps across scales.

Illustrative example. The stages explain the method; they are not a live OpenCV execution.

Try it on an image

YOUR IMAGE · REAL OPENCV

Experiment at pixel level

Open full lab ↗

Attempt a panorama from two overlapping photos. The synthetic pair has translation only; real panoramas need sufficient texture and overlap. Failure to estimate a panorama is reported explicitly.

The engine loads on your first run. Your images stay in this browser.

Input448 × 320
OutputWaiting for a result

Scroll over either image to zoom at the pointer. Use the scrollbars to pan both views over the same relative area. Zoom is relative to the input; pixel coordinates belong to each image. Warps can change scene correspondence.

Pixel inspector RGBA · native values · matched scale · 9 × 9 output pixels
Hover to inspect. Click to pin a pixel.
Input
Select a pixel

Output
Select a pixel

Sample models and licenses

When to use it

Create panoramas when the scene and camera motion fit the selected stitching model.

How it works

  1. 01Match overlapping features and estimate camera relationships.
  2. 02Warp images onto a common projection and select seams.
  3. 03Compensate exposure and blend overlaps across scales.

matches → common projection → seams and blending

What to tune

Choose panorama or scan assumptions deliberately. Check the returned status and inspect overlap consistency before trusting the composite.

Where it breaks down

Parallax, moving objects and weak overlap produce ghosts or alignment failures. A stitcher is not a general scene reconstruction system.

TypeScript API

Open an entry for its exact overloads, parameter descriptions, result ownership and pinned upstream source.

All of these calls execute on the CPU. Native objects need explicit disposal. See matrices and ownership and build compatibility.