CS766 Project 2 Report

Project done by : Sundeep Vaddadi , Alok Deshpande

 

GOAL

To make a panoramic image from a set of images.This involves aligning the images, blending and stitching them together.

 

Algorithms implemented

  1. Warp the images to remove distortion.
  2. Wrap the images onto a cylinder.
  3. Align the consecutive images using feature based method followed by RANSAC algorithm.
  4. Blend the consecutive images into each other to form panorama.
  5. Apply linear warp on the whole panorama so as to match last image with first image, crop the result to get final panorama.

Different image sets used to get panorama image

We took 3 sets of images, first in graphics and CV lab, second inside camp randall stadium and last one in one of the CS labs. We chose these locations so that there are no moving objects involved in the scene. We adjusted the Kaidan head (mounted on tripod) so that it is prefectly horizontal and we took around 18 images to cover entire 360 deg span. The last set of images was for creative panorama where we took the pictures with same person appearing in different images.

Approach

Instructions to run the code

Result of matching algo.(followed by RANSAC) showing translational vectors

Image1
Image2
O/P showing translational vectors

INPUT PHOTO SET WE TOOK : showing 5 of the 18 images we took

Panorama output(CS lab):

Panorama output(Camp Randall Stadium):

  • You can see ghosting of an image in the right half. This image was not having good features because of which matching was bad and we could not get correct translation vector.
  • Panorama output(CV and graphics lab):

    Panorama output(Autostitch result on test images):

    Panorama output(our result on test images):

     

    FAVORITE ARTIFACT APPLET

    References

    [1] Richard Szeliski and Heung-Yeung Shum, Creating Full View Panoramic Image Mosaics and Environment Maps

    [2] Wikipedia - for RANSAC

    Individual Contributions

    Contributions would be : Alok : 60% (matching algorithm,RANSAC,blending,panorama) Sundeep : 40%(undistortion,cylindrical) Taking images: Joint contribution