Making Panoramas. Input: Output: … Input:  A set of images taken from the same optical center.  For this project, the images will also have the same.

Slides:



Advertisements
Similar presentations
Lecture 11: Two-view geometry
Advertisements

More Mosaic Madness : Computational Photography Alexei Efros, CMU, Fall 2011 © Jeffrey Martin (jeffrey-martin.com) with a lot of slides stolen from.
RANSAC and mosaic wrap-up cs195g: Computational Photography James Hays, Brown, Spring 2010 © Jeffrey Martin (jeffrey-martin.com) most slides from Steve.
Mapping: Scaling Rotation Translation Warp
CSCE 641 Computer Graphics: Image Mosaicing Jinxiang Chai.
Motion Tracking. Image Processing and Computer Vision: 82 Introduction Finding how objects have moved in an image sequence Movement in space Movement.
Computational Photography: Image Mosaicing Jinxiang Chai.
Announcements Project 2 Out today Sign up for a panorama kit ASAP! –best slots (weekend) go quickly...
1Jana Kosecka, CS 223b Cylindrical panoramas Cylindrical panoramas.
CS485/685 Computer Vision Prof. George Bebis
COMP322/S2000/L221 Relationship between part, camera, and robot (cont’d) the inverse perspective transformation which is dependent on the focal length.
CAU Kiel DAGM 2001-Tutorial on Visual-Geometric 3-D Scene Reconstruction 1 The plan for today Leftovers and from last time Camera matrix Part A) Notation,
Lecture 11: Structure from motion CS6670: Computer Vision Noah Snavely.
Image Stitching and Panoramas
Announcements Project 1 artifact voting Project 2 out today panorama signup help session at end of class Guest lectures next week: Li Zhang, Jiwon Kim.
1Jana Kosecka, CS 223b Cylindrical panoramas Cylindrical panoramas with some slides from R. Szeliski, S. Seitz, D. Lowe, A. Efros,
CSCE 641 Computer Graphics: Image Mosaicing Jinxiang Chai.
COMP322/S2000/L23/L24/L251 Camera Calibration The most general case is that we have no knowledge of the camera parameters, i.e., its orientation, position,
Lecture 20: Two-view geometry CS6670: Computer Vision Noah Snavely.
Lecture 8: Image Alignment and RANSAC
More Mosaic Madness : Computational Photography Alexei Efros, CMU, Fall 2005 © Jeffrey Martin (jeffrey-martin.com) with a lot of slides stolen from.
Panoramas and Calibration : Rendering and Image Processing Alexei Efros …with a lot of slides stolen from Steve Seitz and Rick Szeliski.
Image Warping and Mosacing : Rendering and Image Processing Alexei Efros …with a lot of slides stolen from Steve Seitz and Rick Szeliski.
Announcements Project 1 Grading session this afternoon Artifacts due Friday (voting TBA) Project 2 out (online) Signup for panorama kits ASAP (weekend.
More Mosaic Madness : Computational Photography Alexei Efros, CMU, Fall 2006 © Jeffrey Martin (jeffrey-martin.com) with a lot of slides stolen from.
Computational Photography: Image Registration Jinxiang Chai.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Announcements Project 1 artifact voting Project 2 out today (help session at end of class)
Announcements Midterm due Friday, beginning of lecture Guest lecture on Friday: Antonio Criminisi, Microsoft Research.
Image Stitching Ali Farhadi CSE 455
Generating panorama using translational movement model.
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
3D SLAM for Omni-directional Camera
Imaging Geometry for the Pinhole Camera Outline: Motivation |The pinhole camera.
High-Resolution Interactive Panoramas with MPEG-4 발표자 : 김영백 임베디드시스템연구실.
Shape from Stereo  Disparity between two images  Photogrammetry  Finding Corresponding Points Correlation based methods Feature based methods.
Mosaics Today’s Readings Szeliski, Ch 5.1, 8.1 StreetView.
Image stitching Digital Visual Effects Yung-Yu Chuang with slides by Richard Szeliski, Steve Seitz, Matthew Brown and Vaclav Hlavac.
Lecture 03 15/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.
Geometry of Multiple Views
Ch. 3: Geometric Camera Calibration
CS-498 Computer Vision Week 7, Day 2 Camera Parameters Intrinsic Calibration  Linear  Radial Distortion (Extrinsic Calibration?) 1.
Kylie Gorman WEEK 1-2 REVIEW. CONVERTING AN IMAGE FROM RGB TO HSV AND DISPLAY CHANNELS.
Mosaics part 3 CSE 455, Winter 2010 February 12, 2010.
COS 429 PS3: Stitching a Panorama Due November 10 th.
Image Stitching Computer Vision CS 691E Some slides from Richard Szeliski.
: Chapter 13: Finding Basic Shapes 1 Montri Karnjanadecha ac.th/~montri Image Processing.
CS4670 / 5670: Computer Vision Kavita Bala Lecture 20: Panoramas.
More Mosaic Madness © Jeffrey Martin (jeffrey-martin.com)
COSC579: Image Align, Mosaic, Stitch
Assignment 2 Creating Panoramas.
A Gentle Introduction to Bilateral Filtering and its Applications
RANSAC and mosaic wrap-up
More Mosaic Madness : Computational Photography
Image Stitching Slides from Rick Szeliski, Steve Seitz, Derek Hoiem, Ira Kemelmacher, Ali Farhadi.
Assignment 2 Creating Panoramas.
More Mosaic Madness © Jeffrey Martin (jeffrey-martin.com)
Assignment 2 Creating Panoramas.
Idea: projecting images onto a common plane
Announcements Project 2 out today (help session at end of class)
More Mosaic Madness : Computational Photography
Find 4 A + 2 B if {image} and {image} Select the correct answer.
Find the inverse of the matrix
Image Stitching Computer Vision CS 678
More Mosaic Madness © Jeffrey Martin (jeffrey-martin.com)
Announcements Project 1 artifact voting Project 2 out today
Solving Equations 3x+7 –7 13 –7 =.
Image Stitching Linda Shapiro ECE/CSE 576.
Image Stitching Linda Shapiro ECE P 596.
Presentation transcript:

Making Panoramas

Input: Output: …

Input:  A set of images taken from the same optical center.  For this project, the images will also have the same horizontal orientation.

Steps 1. Convert each image to cylindrical coordinates. a. Remove radial distortion. 2. Find the alignment parameters between each adjacent pair of images. 3. Blend the images into a single panorama.

1. Convert each image to cylindrical coordinates. The image plane is z = 1. We compute the inverse transformation of (θ,y,1) onto the image plane:  x = tan θ  y = y / cos θ  z = 1

a. Remove radial distortion. Again, perform the inverse transformation on (x,y):  x´ = x + κ 1 r 2 x + κ 2 r 4 x  y´ = y + κ 1 r 2 y + κ 2 r 4 y

2. Find the alignment parameters between each adjacent pair of images. The images lie on a cylinder and have the same horizontal orientation. Therefore we can represent the alignment by a single (u,v) offset. (u,v)(u,v)

2. Find the alignment parameters between each adjacent pair of images. The Lucas-Kanade optical flow algorithm can discover this offset.  I x u + I y v = -It at each pixel.  We have two unknowns and many equations, so we can solve this with a 2-by-2 least-squares system. We do this for each level of the image pyramid, traversing coarse-to-fine.

3. Blend the images into a single panorama. What do we do with pixels shared by multiple images?

3. Blend the images into a single panorama. Have each image i assign a weight α i to each pixel. Then, the color of a pixel (r,g,b) in the panorama is:

3. Blend the images into a single panorama. Assigning weights: i. Uniform weights (α i = 1 for all i). ii. Horizontal hat function (α i inversely proportional to distance from horizontal center, within some window. iii. Something else? 1010

Project 4 For Project 4, you will make a panorama. Most of the code has been given to you. You only need to write code for:  Forming and solving the matrix equation in Lucas-Kanade flow estimation.  Image blending. This project should be less time- consuming than the last.