Geometric Transformations

Slides:



Advertisements
Similar presentations
The fundamental matrix F
Advertisements

Public Library, Stereoscopic Looking Room, Chicago, by Phillips, 1923.
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Two-view geometry.
Recap from Previous Lecture Tone Mapping – Preserve local contrast or detail at the expense of large scale contrast. – Changing the brightness within.
Lecture 8: Stereo.
Stereo.
Computer Vision Optical Flow
Camera calibration and epipolar geometry
Mosaics con’t CSE 455, Winter 2010 February 10, 2010.
Computer Vision : CISC 4/689
Stereo and Epipolar geometry
CS6670: Computer Vision Noah Snavely Lecture 17: Stereo
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2005 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
The Fundamental Matrix F
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Geometric Optimization Problems in Computer Vision.
Stereopsis Mark Twain at Pool Table", no date, UCR Museum of Photography.
3D from multiple views : Rendering and Image Processing Alexei Efros …with a lot of slides stolen from Steve Seitz and Jianbo Shi.
Fitting a Model to Data Reading: 15.1,
Computer Vision : CISC 4/689
CS664 Lecture #19: Layers, RANSAC, panoramas, epipolar geometry Some material taken from:  David Lowe, UBC  Jiri Matas, CMP Prague
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
3D Computer Vision and Video Computing 3D Vision Lecture 14 Stereo Vision (I) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
May 2004Stereo1 Introduction to Computer Vision CS / ECE 181B Tuesday, May 11, 2004  Multiple view geometry and stereo  Handout #6 available (check with.
Announcements PS3 Due Thursday PS4 Available today, due 4/17. Quiz 2 4/24.
Stereo Guest Lecture by Li Zhang
Computer Vision : CISC 4/689 CREDITS Rasmussen, UBC (Jim Little), Seitz (U. of Wash.), Camps (Penn. State), UC, UMD (Jacobs), UNC, CUNY.
Stereo Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with slides by James Rehg and.
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2006 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
Epipolar Geometry and Stereo Vision Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 04/12/11 Many slides adapted from Lana Lazebnik,
CSE 6367 Computer Vision Stereo Reconstruction Camera Coordinate Transformations “Everything should be made as simple as possible, but not simpler.” Albert.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
Robust fitting Prof. Noah Snavely CS1114
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30am – 11:50am Lecture #15.
Automatic Camera Calibration
Epipolar Geometry and Stereo Vision Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 03/05/15 Many slides adapted from Lana Lazebnik,
Image Stitching Ali Farhadi CSE 455
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Structure from images. Calibration Review: Pinhole Camera.
Multi-view geometry.
Lecture 12 Stereo Reconstruction II Lecture 12 Stereo Reconstruction II Mata kuliah: T Computer Vision Tahun: 2010.
Geometric Camera Models and Camera Calibration
IMAGE MOSAICING Summer School on Document Image Processing
Recap from Monday Image Warping – Coordinate transforms – Linear transforms expressed in matrix form – Inverse transforms useful when synthesizing images.
Lecture 04 22/11/2011 Shai Avidan הבהרה : החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Multiview Geometry and Stereopsis. Inputs: two images of a scene (taken from 2 viewpoints). Output: Depth map. Inputs: multiple images of a scene. Output:
Stereo Readings Szeliski, Chapter 11 (through 11.5) Single image stereogram, by Niklas EenNiklas Een.
Project 2 code & artifact due Friday Midterm out tomorrow (check your ), due next Fri Announcements TexPoint fonts used in EMF. Read the TexPoint.
Computer Vision, Robert Pless
Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.
Computer Vision Stereo Vision. Bahadir K. Gunturk2 Pinhole Camera.
Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
Bahadir K. Gunturk1 Phase Correlation Bahadir K. Gunturk2 Phase Correlation Take cross correlation Take inverse Fourier transform  Location of the impulse.
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
Lecture 16: Stereo CS4670 / 5670: Computer Vision Noah Snavely Single image stereogram, by Niklas EenNiklas Een.
Feature Matching. Feature Space Outlier Rejection.
Solving for Stereo Correspondence Many slides drawn from Lana Lazebnik, UIUC.
Project 2 due today Project 3 out today Announcements TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAA.
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
Robust Estimation Course web page: vision.cis.udel.edu/~cv April 23, 2003  Lecture 25.
Multiple View Geometry and Stereo. Overview Single camera geometry – Recap of Homogenous coordinates – Perspective projection model – Camera calibration.
EE 7730 Parametric Motion Estimation. Bahadir K. Gunturk2 Parametric (Global) Motion Affine Flow.
CSE 185 Introduction to Computer Vision Stereo 2.
Stereo CS4670 / 5670: Computer Vision Noah Snavely Single image stereogram, by Niklas EenNiklas Een.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Epipolar Geometry and Stereo Vision
3D Photography: Epipolar geometry
Computer Vision Stereo Vision.
Presentation transcript:

Geometric Transformations EE 7700 Geometric Transformations

Geometric Transformation translation Rotation matrix scale Scale matrix rotation & scale Rigid flow Bahadir K. Gunturk

Affine Flow Bahadir K. Gunturk

Perspective Flow Bahadir K. Gunturk

Bahadir K. Gunturk

Bahadir K. Gunturk

Bahadir K. Gunturk

RANSAC: RANdom SAmple Consensus EE 7730 RANSAC: RANdom SAmple Consensus

Outliers Consider the least squares fit for optical flow: If some of the values are wrong, it will degrade the estimation. Bahadir K. Gunturk

Outliers It is best not to include outliers in the estimation. Line Fitting Problem: Given (x1,y1), …, (xN,yN); find the line y=ax+b Outliers Best fit is degraded due to the outliers Bahadir K. Gunturk

Robust Estimation Two step process: Classify data points as outliers or inliers Use inliers only to fit a model Bahadir K. Gunturk

RANSAC Repeat for k times: Randomly choose n points (the smallest number of points required) from the data. Estimate the parameters using these points. For each data point other than these n points: Check if the data point is within a threshold, t, distance of current model; if it is, the data point is consistent with current model. The total number of data points that are consistent is model’s support. If the support is larger than a predetermined number, d, then there is a good fit. Re-estimate the parameters using these inliers. Choose the best fit with the smallest fitting error. Bahadir K. Gunturk

RANSAC Two samples and their supports for line-fitting Bahadir K. Gunturk

Example Find the perspective parameters Bahadir K. Gunturk from Hartley & Zisserman Bahadir K. Gunturk

Example Apply corner detectors to both images Bahadir K. Gunturk from Hartley & Zisserman Bahadir K. Gunturk

Example Find the best match within a search window. Bahadir K. Gunturk from Hartley & Zisserman Bahadir K. Gunturk

Example Initial match results from Hartley & Zisserman 188 matched features in left image pointing to locations of corresponding right image features Bahadir K. Gunturk

Example Inliers and outliers after RANSAC 89 outliers 99 inliers from Hartley & Zisserman 89 outliers 99 inliers Bahadir K. Gunturk

Panoramic Image Reconstruction Find features Match features Fit parametric model Application: Mosaic construction Bahadir K. Gunturk

EE7730 Stereo Vision

Pinhole Camera Bahadir K. Gunturk

Review: Perspective Projection Bahadir K. Gunturk

Stereo p p’ p p’ scene point image plane optical center Bahadir K. Gunturk

Stereo Constraints M Image plane Epipolar Line Y1 p p’ Y2 X2 O1 Z1 X1 Epipole Focal plane Bahadir K. Gunturk

From Geometry to Algebra P p p’ All vectors shown lie on the same plane. Bahadir K. Gunturk

From Geometry to Algebra P p p’ Bahadir K. Gunturk

Matrix form of cross product a=axi+ayj+azk a×b=|a||b|sin(η)u b=bxi+byj+bzk Bahadir K. Gunturk

The Essential Matrix Essential matrix Bahadir K. Gunturk

A Simple Stereo System Right image: Left image: target reference LEFT CAMERA RIGHT CAMERA baseline Elevation Zw disparity Depth Z Right image: target Left image: reference Zw=0 Bahadir K. Gunturk

Parallel Cameras P Z xl xr f pl pr Ol Or Disparity: T T is the stereo baseline Bahadir K. Gunturk

Stereo View Left View Right View Bahadir K. Gunturk Disparity

Correlation Approach LEFT IMAGE (xl, yl) (0). Essential Equation represents actually the epipolar plane in either the left or the right image (1). Epipolar line in the right image given pl (Epl)Tpr=0 zr = fr extension of the equations in pr = (xr,yr,fr) (2). Epipolar line in the left image given pr (prTE) pl=0 zl = fl For Each point (xl, yl) in the left image, define a window centered at the point Bahadir K. Gunturk

Correlation Approach RIGHT IMAGE (xl, yl) (0). Essential Equation represents actually the epipolar plane in either the left or the right image (1). Epipolar line in the right image given pl (Epl)Tpr=0 zr = fr extension of the equations in pr = (xr,yr,fr) (2). Epipolar line in the left image given pr (prTE) pl=0 zl = fl … search its corresponding point within a search region in the right image Bahadir K. Gunturk

Correlation Approach RIGHT IMAGE (xr, yr) dx (xl, yl) (0). Essential Equation represents actually the epipolar plane in either the left or the right image (1). Epipolar line in the right image given pl (Epl)Tpr=0 zr = fr extension of the equations in pr = (xr,yr,fr) (2). Epipolar line in the left image given pr (prTE) pl=0 zl = fl … the disparity (dx, dy) is the displacement when the correlation is maximum Bahadir K. Gunturk

Stereo results Data from University of Tsukuba Scene Ground truth (Seitz) Bahadir K. Gunturk

Results with window correlation Estimated depth of field Ground truth (Seitz) Bahadir K. Gunturk

Results with better method A state of the art method Boykov et al., Fast Approximate Energy Minimization via Graph Cuts, International Conference on Computer Vision, September 1999. Ground truth Bahadir K. Gunturk (Seitz)

Applications courtesy of Sportvision First-down line Bahadir K. Gunturk

Applications courtesy of Princeton Video Image Virtual advertising Bahadir K. Gunturk