Posts

Posts uit april, 2017 tonen

Assignment 2: Stitching photo mosaics, The goal of the assignment is to automatically stitch images acquired by a panning camera into a mosaic as illustrated in figures 1 and 2 below.

Afbeelding
The goal of the assignment is to automatically stitch images acquired by a panning camera into a mosaic as illustrated in figures 1 and 2 below. Fig.1: Three images acquired by a panning camera. Fig.2: Images stitched to a mosaic. Algorithm outline: 1. Choose one image as the reference frame. 2. Estimate homography between each of the remaining images and the reference image. To estimate homography between two images use the following procedure: a. Detect local features in each image. b. Extract feature descriptor for each feature point. c. Match feature descriptors between two images.  d. Robustly estimate homography using RANSAC. 3.      Wrap each image into the reference frame and composite warped images into a single mosaic. Solution: Complete Matlab Code Stitching photo mosaics: mainfile code: % Read images image1_color = double(imread('a.jpg'))/255; image2_color = double(imread('b.jpg'))/255;