OpenCV Image and Video Stitcher

Upload multiple images (for list/panorama stitching) OR a single video file (for sequential frame stitching). Video frames are sampled incrementally based on the interval. Use Pre-Cropping to remove unwanted areas before stitching. Adjust other parameters and click 'Stitch'.

0 49
0 49
Stitcher Mode (Image List)

Method for image list stitching. 'SCANS'/'PANORAMA': Use OpenCV's built-in Stitcher (optimized for translation/rotation). 'SCANS': Optimized for images primarily related by translation (like scanning documents or linear camera motion), potentially using simpler geometric models or assumptions internally. 'PANORAMA': Designed for images captured by rotating the camera around a central point. It uses full perspective transformations (Homography) to handle the complex geometric distortions typical in panoramic shots.'DIRECT_PAIRWISE': Skip OpenCV Stitcher and directly use sequential pairwise feature matching (same as video mode or fallback).

0.1 1
0.05 1
-1 1

Attempts to correct perspective distortions (waviness) common in panoramas. Can increase processing time.

Exposure Compensation

Method used by the built-in stitcher to adjust brightness/contrast differences between images. 'GAIN_BLOCKS' is generally preferred for varying lighting.

Pairwise Transform Model

Geometric model for pairwise alignment. 'Homography' handles perspective. 'Affine' (Partial/Full) handles translation, rotation, scale, shear (better for scans, less distortion risk). If stitching fails with one model, try another.

Blending Method

Algorithm for smoothing seams in overlapping regions when using the detailed stitcher (for video or image list fallback). 'Multi-Band' is often better but slower.

Adjusts overall brightness difference before blending when using the detailed stitcher. Recommended.

500 10000
0.5 0.95
1 10
0.1 2
2 7

Automatically remove black border areas from the final stitched image(s) AFTER stitching.

If 'Crop Black Borders' is enabled, this forces removal of any remaining black pixels directly on the image edges after the main crop. Might slightly shrink the image further.

Example Configurations
Upload Images or a Video Crop Top % Crop Bottom % Stitcher Mode (Image List) Registration Resolution Seam Estimation Resolution Compositing Resolution Enable Wave Correction Exposure Compensation Crop Black Borders (Post-Stitch) Strict No Black Edges (Post-Crop) Pairwise Transform Model Blending Method Enable Gain Compensation ORB Features Match Ratio Threshold RANSAC Reproj Threshold Max Distance Coeff Max Blending Width Max Blending Height Blend Smooth Kernel Size Multi-Band Blend Levels Sample Interval (ms) Max Composite Width (Video) Max Composite Height (Video)