Image stitching (also called image mosaicing) refers to the image processing task of combining multiple overlapping images to create a (segmented) panorama image (alternatively called an image mosaic). There are three major components of image stitching:
- Register images (so their features align)
- Determine overlap
- Blend
In this recipe, you will learn how to implement image stitching by registering a bunch of overlapped images using Scale-Invariant Feature Transform (SIFT) features (using OpenCV-Python), warping them to match the overlapped regions, and iteratively adding new regions not present in the image mosaic so far. You will also learn how to use OpenCV-Python library's stitch class method to create image mosaic with a single method invocation.