Computational Photography: Image Mosaicing Jinxiang Chai.

Slides:



Advertisements
Similar presentations
RANSAC and mosaic wrap-up cs129: Computational Photography James Hays, Brown, Fall 2012 © Jeffrey Martin (jeffrey-martin.com) most slides from Steve Seitz,
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
Photo Stitching Panoramas from Multiple Images Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/28/12.
CSCE 641 Computer Graphics: Image Mosaicing Jinxiang Chai.
Image alignment Image from
Mosaics con’t CSE 455, Winter 2010 February 10, 2010.
Lecture 14: Panoramas CS4670: Computer Vision Noah Snavely What’s inside your fridge?
Announcements Project 2 Out today Sign up for a panorama kit ASAP! –best slots (weekend) go quickly...
Announcements Project 1 artifact voting ( announce later today) Project 2 out today (help session at end of class) IMPORTANT: choose Proj 2 partner.
Recognising Panoramas
Direct Methods for Visual Scene Reconstruction Paper by Richard Szeliski & Sing Bing Kang Presented by Kristin Branson November 7, 2002.
Homographies and Mosaics : Computational Photography Alexei Efros, CMU, Fall 2005 © Jeffrey Martin (jeffrey-martin.com) with a lot of slides stolen.
1Jana Kosecka, CS 223b Cylindrical panoramas Cylindrical panoramas.
Lecture 7: Image Alignment and Panoramas CS6670: Computer Vision Noah Snavely What’s inside your fridge?
Lecture 6: Image transformations and alignment CS6670: Computer Vision Noah Snavely.
Lecture 11: Structure from motion CS6670: Computer Vision Noah Snavely.
Image Stitching and Panoramas
Lecture 13: Projection, Part 2
Announcements Project 2 out today panorama signup help session at end of class Today mosaic recap blending.
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.
CS664 Lecture #19: Layers, RANSAC, panoramas, epipolar geometry Some material taken from:  David Lowe, UBC  Jiri Matas, CMP Prague
Lecture 20: Two-view geometry CS6670: Computer Vision Noah Snavely.
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.
Lec 21: Fundamental Matrix
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.
Mosaics CSE 455, Winter 2010 February 8, 2010 Neel Joshi, CSE 455, Winter Announcements  The Midterm went out Friday  See to the class.
Automatic Camera Calibration
Image Stitching Ali Farhadi CSE 455
CSC 589 Lecture 22 Image Alignment and least square methods Bei Xiao American University April 13.
Last Lecture (optical center) origin principal point P (X,Y,Z) p (x,y) x y.
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.
CS4670 / 5670: Computer Vision KavitaBala Lecture 17: Panoramas.
Feature Matching. Feature Space Outlier Rejection.
Mosaics part 3 CSE 455, Winter 2010 February 12, 2010.
Smoothly Varying Affine Stitching [CVPR 2011]
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.
Image-Based Rendering Geometry and light interaction may be difficult and expensive to model –Think of how hard radiosity is –Imagine the complexity of.
Mosaics Today’s Readings Szeliski and Shum paper (sections 1 and 2, skim the rest) –
Image Stitching Computer Vision CS 691E Some slides from Richard Szeliski.
Introduction To IBR Ying Wu. View Morphing Seitz & Dyer SIGGRAPH’96 Synthesize images in transition of two views based on two images No 3D shape is required.
Homographies and Mosaics : Computational Photography Alexei Efros, CMU, Fall 2006 © Jeffrey Martin (jeffrey-martin.com) with a lot of slides stolen.
Prof. Adriana Kovashka University of Pittsburgh October 3, 2016
CS4670 / 5670: Computer Vision Kavita Bala Lecture 20: Panoramas.
More Mosaic Madness © Jeffrey Martin (jeffrey-martin.com)
COSC579: Image Align, Mosaic, Stitch
RANSAC and mosaic wrap-up
More Mosaic Madness : Computational Photography
Image Stitching Slides from Rick Szeliski, Steve Seitz, Derek Hoiem, Ira Kemelmacher, Ali Farhadi.
More Mosaic Madness © Jeffrey Martin (jeffrey-martin.com)
Idea: projecting images onto a common plane
Announcements Project 2 out today (help session at end of class)
More Mosaic Madness : Computational Photography
Image Stitching Computer Vision CS 678
More Mosaic Madness © Jeffrey Martin (jeffrey-martin.com)
Announcements Project 1 Project 2 Vote for your favorite artifacts!
Announcements Project 1 artifact voting Project 2 out today
Computational Photography
Automatic Panoramic Image Stitching using Invariant Features
Image Stitching Linda Shapiro ECE/CSE 576.
Image Stitching Linda Shapiro ECE P 596.
Presentation transcript:

Computational Photography: Image Mosaicing Jinxiang Chai

Outline Image registration - feature-based registration - pixel-based registration Image mosaicing

Required Readings Section 9.1, Szeliski book. Section recognizing panoramas [website]recognizing panoramaswebsite

virtual wide-angle camera Mosaics: Stitching Image Together

Mosaic Procedure Basic Procedure –Take a sequence of images from the same position Rotate the camera about its optical center –Compute transformation between second image and first –Transform the second image to overlap with the first –Blend the two together to create a mosaic –If there are more images, repeat

Image Mosaic real camera synthetic camera Can generate any synthetic camera view as long as it has the same center of projection! Is a pencil of rays contains all views

Image Re-projection mosaic PP The mosaic has a natural interpretation in 3D –The images are reprojected onto a common plane –The mosaic is formed on this plane –Mosaic is a synthetic wide-angle camera

Issues in Image Mosaic mosaic PP How to relate two images from the same camera center? - image registration How to re-project images to a common plane? - image warping ? ?

Image Mosaicing Geometric relationship between images

Image Mosaicing Geometric relationship between images –Use 8-parameter projective transformation matrix

Image Mosaicing Geometric relationship between images –Use 8-parameter projective transformation matrix –Use a 3D rotation model (one R per image) Derive it by yourself!

Image Mosaicing Geometric relationship between images –Use 8-parameter projective transformation matrix –Use a 3D rotation model (one R per image) Register all pairwise overlapping images –Feature-based registration –Pixel-based registration Chain together inter-frame rotations

Image Stitching Stitch pairs together, blend, then crop

Image Stitching A big image stitched from 5 small images

Panoramas What if you want a 360  field of view? mosaic Projection Cylinder

Cylindrical Panoramas Steps –Re-project each image onto a cylinder –Blend –Output the resulting mosaic

Cylindrical Projection –Map 3D point (X,Y,Z) onto cylinder X Y Z unit cylinder

Cylindrical Projection –Map 3D point (X,Y,Z) onto cylinder X Y Z unwrapped cylinder –Convert to cylindrical coordinates unit cylinder

Cylindrical Projection –Map 3D point (X,Y,Z) onto cylinder X Y Z unwrapped cylinder –Convert to cylindrical coordinates cylindrical image –Convert to cylindrical image coordinates s defines size of the final image unit cylinder

Cylindrical Panoramas mosaic Projection Cylinder A B Cannot map point A to Point B without knowing (X,Y,Z)

Cylindrical Panoramas mosaic Projection Cylinder B C A But we can map point C (images) to Point B.

Cylindrical Warping Given focal length f and image center (xc,yc) X Y Z (X,Y,Z)(X,Y,Z) (sin ,h,cos  )

Cylindrical Panoramas f = 180 (pixels) Map image to cylindrical or spherical coordinates –need known focal length Image 384x300f = 380f = 280

Cylindrical Panorama 3D rotation registration of four images taken with a handheld camera.

Cylindrical Panorama

Recognizing Panoramas A fully automatic 2D image stitcher system Input Images Output panorama #1

Recognizing Panoramas A fully automatic 2D image stitcher system Input Images Output panorama #2

Recognizing Panoramas A fully automatic 2D image stitcher system Input Images Output panorama #3

Recognizing Panoramas A fully automatic 2D image stitcher system Input Images - How to recognize which images can be used for panoramas? - How to stitch them automatically?

Recognizing Panoramas A fully automatic 2D image stitcher system

Recognizing Panoramas A fully automatic 2D image stitcher system - Image matching with SIFT featuresSIFT - For every image, find the M best images with RANSAC - Form a graph and find connected component in the graph - Stitching and blending.

Recognizing Panoramas

Outline Image registration Image mosaicing